-
-
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
ReferenceError: global is not defined #11525
Comments
@ahnpnl I am not sure if his config for ts-jest is correct here |
The config is correct, this issue might be related to #10957 |
Please provide a full reproduction (and minimal, i.e. without ts-jest etc if possible) |
Same here. I also use ts-jest. |
No reproduction has been provided. If anybody has the same problem, please open up a new issue and follow the issue template |
I solved my issue and found the reason. I run
Here are two different jest major version installed. I removed |
Thanks! This worked! In my case this is was react-scripts package with wrong version of jest as dependency |
@drop how did you solve? Did you have to remove |
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. |
I'm trying to run some tests here but i can't pass through the following error:
and it refers to this line:
My jest.config.js is like this:
Am I missing something?
The text was updated successfully, but these errors were encountered: