Guest User

Untitled

a guest
Nov 22nd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. npm ERR! Error: ENOENT, open '<path to project>/node_modules/app/foo/__tests__/bar.spec.js/package.json'
  2.  
  3. npm test -- SomeTestFileToRun
  4.  
  5. npm test -- --help
  6.  
  7. npm test -- Foo
  8.  
  9. npm test -t ValidationUtil
  10.  
  11. node_modules/.bin/jest [args]
  12.  
  13. yarn test src/lib/myfile.test.js
  14.  
  15. {
  16. ...
  17. "scripts": {
  18. "test": "jest",
  19. "testw": "jest --watch",
  20. "testc": "jest --coverage",
  21. ...
  22. },
  23. "devDependencies": {
  24. "jest": "^18.1.0",
  25. ...
  26. },
  27.  
  28. }
Add Comment
Please, Sign In to add comment