diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-04 15:34:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-04 15:34:23 +0800 |
commit | 20aaab0847d0ec8b2a44f392ddd467f0c475cfb5 (patch) | |
tree | cb04c00e382df4f6b40f6822a2581676d987305b /packages/metacoin | |
parent | 3e648cfb7ec20f9e5b0160dbc55c78277e9d56cc (diff) | |
download | dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.gz dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.zst dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.zip |
Add --exit to all mocha calls so they exit when called from top-level yarn command (https://github.com/mochajs/mocha/issues/3044)
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json index 1177513a7..f63e1df61 100644 --- a/packages/metacoin/package.json +++ b/packages/metacoin/package.json @@ -12,7 +12,7 @@ "build": "tsc", "test": "run-s build run_mocha", "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", - "run_mocha": "mocha 'lib/test/**/*.js'", + "run_mocha": "mocha lib/test/**/*.js --bail --exit", "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'", "coverage:report:text": "istanbul report text", "coverage:report:html": "istanbul report html && open coverage/index.html", |