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
TypeError: runtime.unstable_shouldLoadAsEsm is not a function
at jasmine2 (node_modules/jest-config/node_modules/jest-jasmine2/build/index.js:188:25)
This is because the runner is using old jest-runner.
I think the best solution is to put the jest-runner as peer dependency with no semver restrictions
The text was updated successfully, but these errors were encountered:
The quick solution is to copy the index.js file to your project, and point the runner config entry to it.
I've tested it with jest 26.6.3 and it works. Just make sure you have all jest related packages at the same version.
When using jest 25, the following error occurs:
This is because the runner is using old jest-runner.
I think the best solution is to put the jest-runner as peer dependency with no semver restrictions
The text was updated successfully, but these errors were encountered: