aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-23 05:28:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-30 23:01:37 +0800
commit2f65fadeaabf350c5fa6d2e822dc211f0632ae2e (patch)
tree28d70e18df8edb4965f640533620132a1c01f681
parenta17091b394400ae13b7f85632b2c4a2e20935442 (diff)
downloaddexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar.gz
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar.bz2
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar.lz
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar.xz
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.tar.zst
dexon-sol-tools-2f65fadeaabf350c5fa6d2e822dc211f0632ae2e.zip
Add --bail to mocha config
-rw-r--r--packages/contracts/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index 9df12d8a3..05df63004 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -11,7 +11,7 @@
"build":
"rm -rf ./lib; copyfiles ./build/**/* ./deploy/solc/solc_bin/* ./deploy/test/fixtures/contracts/**/* ./deploy/test/fixtures/contracts/* ./lib; tsc;",
"test": "run-s build compile run_mocha",
- "run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --exit",
+ "run_mocha": "mocha 'lib/test/**/*.js' --timeout 10000 --bail --exit",
"compile:comment":
"Yarn workspaces do not link binaries correctly so we need to reference them directly https://github.com/yarnpkg/yarn/issues/3846",
"compile": "node ../deployer/lib/src/cli.js compile",