Skip to content

Commit

Permalink
package.json: exit mocha after tests are done; mochajs/mocha#3044
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
  • Loading branch information
mkozjak committed Oct 10, 2017
1 parent 388ebce commit 58b1a05
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": "mkdir -p ./dist && eslint --fix -c ./.eslintrc './src/**/*.js' './test/**/*.js' && babel ./src -d ./dist && browserify -s RPCWebSocket ./dist/index.browser.js > ./dist/index.browser-bundle.js",
"pretest": "npm run-script build",
"test": "mocha test/*spec.js",
"test": "mocha --exit test/*spec.js",
"coverage": "istanbul cover _mocha --report lcovonly -- -R spec",
"coveralls": "npm run-script coverage && coveralls < ./coverage/lcov.info"
},
Expand Down

0 comments on commit 58b1a05

Please sign in to comment.