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
Error: ENOENT: no such file or directory, open '.env.example'
at Object.fs.openSync (fs.js:663:18)
at Object.fs.readFileSync (fs.js:568:33)
at Object.config (<project-root>/node_modules/dotenv-safe/index.js:32:42)
at Object.<anonymous> (<project-root>/webpack/jest/jest.js:5:24)
at Runtime._execModule (<project-root>/node_modules/jest-runtime/build/index.js:513:13)
at Runtime.requireModule (<project-root>/node_modules/jest-runtime/build/index.js:329:14)
at new Runtime (<project-root>/node_modules/jest-runtime/build/index.js:170:14)
at runTest (<project-root>/node_modules/jest-cli/build/runTest.js:78:19)
at promise.then (<project-root>/node_modules/jest-cli/build/TestRunner.js:197:14)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
Code editor or IDE name and version
IntelliJ IDEA v2017.3.3
OS name and version
OSX 10.13.2 (17C88)
The text was updated successfully, but these errors were encountered:
Using Jest, "no such file or directory" for .env.example
.env.example
file exists at<project-root>
NODE_ENV=test jest
I've tried adding
rootDir
in config to<project-root>
, did not solve the issue.I'm excited to get this working as I'm evaluating it for use for my team.
Wallaby config:
Jest config:
Full error:
Code editor or IDE name and version
IntelliJ IDEA v2017.3.3
OS name and version
OSX 10.13.2 (17C88)
The text was updated successfully, but these errors were encountered: