Closed
Description
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes.
Environment
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
Yarn: 1.13.0
npm: 6.2.0
Steps to Reproduce
create-react-app testing
npm run eject
npm test
- Observe spectacular failure
Expected Behavior
Test should pass just as it did before ejecting.
Actual Behavior
FAIL src/App.test.js ● Test suite failed to run
[BABEL] C:\code\testing\src\App.test.js: Cannot find module '@babel/plugin-transform-react-jsx' (While processing: "C:\\code\\testing\\node_modules\\babel-preset-react-app\\index.js$1")
at _pluginTransformReactJsx (node_modules/babel-preset-react-app/node_modules/@babel/preset-react/lib/index.js:19:39)
at _default (node_modules/babel-preset-react-app/node_modules/@babel/preset-react/lib/index.js:73:16)
at node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at loadDescriptor (node_modules/@babel/core/lib/config/full.js:165:14)
at cachedFunction (node_modules/@babel/core/lib/config/caching.js:33:19)
at loadPresetDescriptor (node_modules/@babel/core/lib/config/full.js:235:63)
Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 1.954s
Help?