Skip to content

Commit

Permalink
Add --exit flag to mocha command line to force exit.
Browse files Browse the repository at this point in the history
Since v4 mocha doesn't force-exit if a process or a socket is still running.

mochajs/mocha#3044
  • Loading branch information
loic-pryv committed May 16, 2019
1 parent b410357 commit 18cef96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "node node_modules/grunt/bin/grunt",
"start": "node src/server.js",
"test": "mocha test/**/*.test.js",
"test": "mocha --exit test/**/*.test.js",
"release": "true"
},
"repository": {
Expand Down

0 comments on commit 18cef96

Please sign in to comment.