Jest Cannot find module '@testing-library/user-event #1131
Closed
deanohyeah
started this conversation in
General
Replies: 1 comment
-
For anyone else, it turned out to be calling match on pkg.name in the jest resolver. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As of v14.4.3 jest cannot find the user event module.
It seems to have something to do with the package.json file in the esm dir.
If i remove that jest can resolve the package.
Also i'm specifying a resolver in my jest config which also seems to be triggering this issue.
Any ideas?
` ● Test suite failed to run
Beta Was this translation helpful? Give feedback.
All reactions