-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Regression: runtime.setGlobalsForRuntime is not a function jest-circus 26.5.0 #10591
Comments
Unable to reproduce this one... What version of |
@SkeLLLa added some defensive code for version mismatch, please try https://github.com/facebook/jest/releases/tag/v26.5.1 |
@SimenB thanks. |
That seems likely, yeah. We might need to add some sort of version requirement here - we get an instance of Regardless, the extra safety I added is a good idea for Jest 26 as people might install a newer |
As for |
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. |
💥 Regression Report
Updating jest to 26.5.0 with jest-circus runner started to throw an error:
Last working version
Worked up to version:
jest: 26.4.X
jest-circus: 26.4.X
Stopped working in version:
jest: 26.5.0
jest-circus: 26.5.0
To Reproduce
Steps to reproduce the behavior:
I'm not sure what exactly cause the issue, but maybe it's code that looks like:
in global setup scripts.
Expected behavior
Not throw an error
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: