Skip to content

Commit 79a5cc7

Browse files
committed
Make sure mocha exits after test
1 parent f235a58 commit 79a5cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"z-schema": "3.25.1"
4747
},
4848
"scripts": {
49-
"test": "./node_modules/mocha/bin/mocha -u bdd -R spec test/config.js test/util test/commands test/commands/project test/project-skeletons",
50-
"coverage": "istanbul cover ./node_modules/mocha/bin/mocha -u bdd -- -R spec test/config.js test/util test/commands test/commands/project test/project-skeletons",
49+
"test": "./node_modules/.bin/_mocha --exit -u bdd -R spec test/config.js test/util test/commands test/commands/project test/project-skeletons",
50+
"coverage": "istanbul cover ./node_modules/.bin/_mocha -u bdd -- -R spec test/config.js test/util test/commands test/commands/project test/project-skeletons",
5151
"start": "node app.js"
5252
},
5353
"bin": {

0 commit comments

Comments
 (0)