Enable coverage for Jest (#5442)

This commit is contained in:
Yamagishi Kazutoshi
2017-10-18 18:39:36 +09:00
committed by Eugen Rochko
parent e7099d8d9e
commit 402da46ff6
2 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"start": "node ./streaming/index.js",
"test": "npm run test:lint && npm run test:jest",
"test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ streaming/",
"test:jest": "cross-env NODE_ENV=test jest",
"test:jest": "cross-env NODE_ENV=test jest --coverage",
"postinstall": "npm rebuild node-sass"
},
"repository": {