Demo Repository for Jest Issue #5736
- run
npm i
- run
npm test
- see error
TypeError: Cannot read property 'loose' of undefined (While processing preset: "/Users/x/Desktop/jest-test/node_modules/babel-preset-react-app/index.js")
I've searched for this error and found this Babel issue, that suggests that when babel-core
instead of @babel/core
is required by any package, it will break. And it seems like jest-runtime
v22.4.2 (currently the newest one) is doing exactly this.
- Operating System: MacOS 10.13.2 (High Sierra)
- Nodejs: v9.4.0
- npm: v5.7.1