aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-12-16 04:41:58 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-12-16 04:41:58 +0800
commitc6e7bc0a5d91869fc27bb58298ba2add5b83844b (patch)
tree45a3bc48bbd3e6166ebd18b167b0a45253d2881c /package.json
parent115c5e3a43103476682735bc3c840b9d429165ed (diff)
downloadtangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar.gz
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar.bz2
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar.lz
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar.xz
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.tar.zst
tangerine-wallet-browser-c6e7bc0a5d91869fc27bb58298ba2add5b83844b.zip
Add exit flag to mocha to exit after tests run
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index fce548066..7184e3ea8 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"dist": "npm run dist:clear && npm install && gulp dist",
"dist:clear": "rm -rf node_modules/eth-contract-metadata && rm -rf node_modules/eth-phishing-detect",
"test": "npm run lint && npm run test:coverage && npm run test:integration",
- "test:unit": "METAMASK_ENV=test mocha --compilers js:babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"",
+ "test:unit": "METAMASK_ENV=test mocha --exit --compilers js:babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"",
"test:single": "METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:flat && npm run test:mascara",
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",