Closed
Description
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes after updating to the latest version the issue still occurs
###Can you still reproduce it?
Yes issue still occurs
Description
An issue with running test using jest v18.0.0
Expected behavior
The declared variable within the test.js
file would be the first instance, or the jest global variable to be available within the test.js
Actual behavior
Error is logged, stating that jest
has already been declared
Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts
(if you haven’t ejected):node -v7.3.0
:npm -3.10.10
:
Then, specify:
- Operating system: macOs Sierra
- Browser and version: Chrome Version 55.0.2883.95 (64-bit)
Reproducible Demo
To re-create the issue;
- run
create-react-app
npm run eject
- update jest version to
18.0.0
npm run test
Metadata
Metadata
Assignees
Labels
No labels