-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSDOM configuration issue #5578
Comments
Example code runs fine for me (example repo here). I've seen this happen though if you have multiple versions of JSDOM installed. Since this issue tracker isn't a help fourm, I'm happy to help more StackOverflow or our discord channel |
@tsoyviktor please provide a full repro if you believe this to be a bug. |
The problem was with a scoped dependency |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
JSDOM configuration issue
I'm Running jest tests in
jsdom
environment and keep getting following error.TypeError: require(...).evalVMScript is not a function
The same setup works with
--env=node
so it seems that the problem is with JSDOM itself..babelrc
package.json
Test
Setup:
The text was updated successfully, but these errors were encountered: