mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
add explicit exit code to the mocha script
This commit is contained in:
parent
dfec01ee72
commit
b1631ba3c8
@ -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 .",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user