Thursday, 5 December 2019

Why do I get these errors when running Jest from an npm project and not globally

Im running unit tests with jest in an npm project and getting the following errors when ever a test fails.npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! the_gathering_place@1.0.0 test: `jest` npm ERR! Exit status 1I also get this error when i try to run jest --watch with the npm scripts ```jest "watch"No tests found, exiting with code 1 ```running jest from a global install works fine but not from an npm install

Submitted December 05, 2019 at 04:25PM by dominic_l

No comments:

Post a Comment