fix: force mocha to exit when 0 tests (#42357)
Otherwise a command like npm run test:curriculum -- -g 'Not a real title' will spin forever
This commit is contained in:
committed by
GitHub
parent
00e5440882
commit
8290ad0bac
@ -25,7 +25,7 @@
|
|||||||
"delete-step": "cross-env CALLING_DIR=$INIT_CWD node ../tools/challenge-helper-scripts/delete-step",
|
"delete-step": "cross-env CALLING_DIR=$INIT_CWD node ../tools/challenge-helper-scripts/delete-step",
|
||||||
"lint": "gulp lint",
|
"lint": "gulp lint",
|
||||||
"reorder-steps": "cross-env CALLING_DIR=$INIT_CWD node ../tools/challenge-helper-scripts/reorder-steps",
|
"reorder-steps": "cross-env CALLING_DIR=$INIT_CWD node ../tools/challenge-helper-scripts/reorder-steps",
|
||||||
"test": "mocha --delay --reporter progress --bail",
|
"test": "mocha --delay --exit --reporter progress --bail",
|
||||||
"pretest:full-output": "npm run pretest",
|
"pretest:full-output": "npm run pretest",
|
||||||
"test:full-output": "cross-env FULL_OUTPUT=true mocha --delay --reporter progress"
|
"test:full-output": "cross-env FULL_OUTPUT=true mocha --delay --reporter progress"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user