You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have vue, nuxt, and @testing-library/vue project, and after running: yarn add --dev @testing-library/user-event
the setup below works in my test running:
import{userEventasuserEventLib}from"@testing-library/user-event";//....//....constuserEvent=userEventLib.setup();// works
However, I can't do build / run the dev due to error in the title above. I'm using VSCODE.
But I can successfully run and simulate the userEvent.paste() call.
Please help how to fix the import error.
Thanks!
The text was updated successfully, but these errors were encountered:
Reproduction example
https://codesandbox.io/s/loving-archimedes-vvcdt3
Prerequisites
Expected behavior
No VS code error or
import/namespace
error appearedActual behavior
Error in VSCODE:
User-event version
14.5.1
Environment
Testing Library framework:
14.5.1
JS framework:
vue@2.6.14, nuxt@2.15.8
Test environment:
"jest": "27.4.5"
JS DOM:
Additional context
I have vue, nuxt, and
@testing-library/vue
project, and after running:yarn add --dev @testing-library/user-event
the setup below works in my test running:
However, I can't do build / run the dev due to error in the title above. I'm using VSCODE.
But I can successfully run and simulate the
userEvent.paste()
call.Please help how to fix the import error.
Thanks!
The text was updated successfully, but these errors were encountered: