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/assert/package.json | |
parent | 3e648cfb7ec20f9e5b0160dbc55c78277e9d56cc (diff) | |
download | dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.gz dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.bz2 dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.lz dexon-sol-tools-20aaab0847d0ec8b2a44f392ddd467f0c475cfb5.tar.xz 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/assert/package.json')
-rw-r--r-- | packages/assert/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/assert/package.json b/packages/assert/package.json index 4e495d05f..c90f44e8c 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -9,7 +9,7 @@ "build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "clean": "shx rm -rf lib test_temp scripts", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", - "run_mocha": "mocha lib/test/**/*_test.js", + "run_mocha": "mocha lib/test/**/*_test.js --exit", "prepublishOnly": "run-p build", "test": "run-s clean build run_mocha", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", |