From 58b1a055b440234f2128863bb8abbe5e77a53334 Mon Sep 17 00:00:00 2001 From: Mario Kozjak Date: Tue, 10 Oct 2017 11:31:49 +0200 Subject: [PATCH] package.json: exit mocha after tests are done; mochajs/mocha#3044 Signed-off-by: Mario Kozjak --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 67551b4..93f5eec 100644 --- a/package.json +++ b/package.json @@ -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" },