-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
π Bug Report
Unable to find preset es2015.
To Reproduce
change directory into the folder ./e2e/babel-plugin-jest-hoist
And then use node ..\..\packages\jest-cli\bin\jest.js
FAIL __tests__/integration_automock_off.test.js
β Test suite failed to run
Couldn't find preset "es2015" relative to directory "C:\\Users\\Gonryun\\Documents\\OpenSource\\jest\\e2e\\babel-plugin-jest-hoist"
at ../../node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
at Array.map (<anonymous>)
FAIL __tests__/integration.test.js
β Test suite failed to run
Couldn't find preset "es2015" relative to directory "C:\\Users\\Gonryun\\Documents\\OpenSource\\jest\\e2e\\babel-plugin-jest-hoist"
at ../../node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
at Array.map (<anonymous>)
Test Suites: 2 failed, 2 total
Tests: 0 total
Snapshots: 0 total
Time: 1.251s
Ran all test suites.
Expected behavior
The test should be executed successfully.
Link to repl or repo (highly encouraged)
https://github.com/GGonryun/jest
I wanted to make changes to standardize file names as per issue #4969 but was unable to pass any of the tests in this folder.
Run npx envinfo --preset jest
Paste the results here:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Binaries:
Node: 10.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Metadata
Metadata
Assignees
Labels
No labels