aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 07:34:11 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 07:34:11 +0800
commitd5b4032b258c41dad611c6f4ebf28f42e4e6ba98 (patch)
tree2cd4cf04d2498b0dc237f895729f82da9786f015
parent3eb21a76c18f4bbf7deed7c66ebd80bc59dddc53 (diff)
downloaddexon-sol-tools-d5b4032b258c41dad611c6f4ebf28f42e4e6ba98.tar.gz
dexon-sol-tools-d5b4032b258c41dad611c6f4ebf28f42e4e6ba98.tar.zst
dexon-sol-tools-d5b4032b258c41dad611c6f4ebf28f42e4e6ba98.zip
Add --bail option to mocha run command
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 0ac014e76..ecb5e28f0 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"pretest:umd": "run-s clean build:*:dev",
"substitute_umd_bundle": "npm run remove_src_files_not_used_by_tests; shx mv _bundles/* lib/src",
"remove_src_files_not_used_by_tests": "find ./lib/src \\( -path ./lib/src/utils -o -path ./lib/src/schemas -o -path \"./lib/src/types.*\" \\) -prune -o -type f -print | xargs rm",
- "run_mocha": "mocha lib/test/**/*_test.js --timeout 3000"
+ "run_mocha": "mocha lib/test/**/*_test.js --timeout 3000 --bail"
},
"config": {
"artifacts": "Proxy Exchange TokenRegistry Token Mintable EtherToken",