Skip to content

Commit

Permalink
add explicit exit code to the mocha script
Browse files Browse the repository at this point in the history
  • Loading branch information
mlrawlings committed Mar 24, 2018
1 parent dfec01e commit b1631ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"precommit": "lint-staged",
"test": "npm run lint -s && npm run mocha -s",
"test-ci": "npm run check-format && npm run test-generate-coverage",
"mocha": "mocha --timeout 10000 --max-old-space-size=768 ./test/*/*.test.js",
"mocha": "mocha --timeout 10000 --max-old-space-size=768 ./test/*/*.test.js || exit 1",
"test-coverage": "npm run test-generate-coverage && nyc report --reporter=html && open ./coverage/index.html",
"test-generate-coverage": "nyc -asc npm test",
"lint": "eslint .",
Expand Down

0 comments on commit b1631ba

Please sign in to comment.