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
After upgrading jest and babel-jest from 25.5.4 to 26.1.0, I then get the following error message when running my jest tests:
FAIL __tests__/Helpers.test.js
β Test suite failed to run
Cannot find module 'InitializeCore' from 'node_modules/react-native/jest/setup.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:308:11)
at Object.<anonymous> (node_modules/react-native/jest/setup.js:3:15)
I'm on react-native version 0.59.10.
To Reproduce
Steps to reproduce the behavior:
Upgrade jest and babel-jest from 25.5.4 to 26.0.0.
Run jest tests.
Expected behavior
Tests run normally as they did prior to the upgrade.
joshuapinter
changed the title
Upgrading jest from 25.5.4 to 26.0.0 in React Native gives missing "InitializeCore" error.
Upgrading jest from 25.5.4 to 26.1.0 in React Native gives missing "InitializeCore" error.
Jul 28, 2020
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
π Bug Report
After upgrading
jest
andbabel-jest
from 25.5.4 to 26.1.0, I then get the following error message when running myjest
tests:I'm on
react-native
version 0.59.10.To Reproduce
Steps to reproduce the behavior:
Upgrade
jest
andbabel-jest
from 25.5.4 to 26.0.0.Run jest tests.
Expected behavior
Tests run normally as they did prior to the upgrade.
Link to repl or repo (highly encouraged)
n/a
envinfo
The text was updated successfully, but these errors were encountered: