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'
Reproduction example
https://codesandbox.io/s/wonderful-shadow-zqehu0
Prerequisites
Open a new terminal
npx vitestExpected behavior
Test passes
Actual behavior
Test fails - but edit vite.config.ts to
jsdomand it'll passUser-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'