Skip to content

File upload fails in happy-dom #940

Closed
@DGollings

Description

@DGollings

Reproduction example

https://codesandbox.io/s/wonderful-shadow-zqehu0

Prerequisites

Open a new terminal npx vitest

Expected behavior

Test passes

Actual behavior

Test fails - but edit vite.config.ts to jsdom and it'll pass

User-event version

14.1.1

Environment

Testing Library framework:

JS framework:

Test environment:

DOM implementation:

Additional context

Not sure if this has anything to do with user-event, but it might be related to testing-library/vue-testing-library#267 ? I seem to run into all kinds of minor/weird issues using this 'stack'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions