aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-report/package.json
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-04 15:34:23 +0800
committerFabio Berger <me@fabioberger.com>2018-04-04 15:34:23 +0800
commit20aaab0847d0ec8b2a44f392ddd467f0c475cfb5 (patch)
treecb04c00e382df4f6b40f6822a2581676d987305b /packages/sra-report/package.json
parent3e648cfb7ec20f9e5b0160dbc55c78277e9d56cc (diff)
downloaddexon-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/sra-report/package.json')
-rw-r--r--packages/sra-report/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sra-report/package.json b/packages/sra-report/package.json
index 3c24ec312..f4d9bb7fb 100644
--- a/packages/sra-report/package.json
+++ b/packages/sra-report/package.json
@@ -12,7 +12,7 @@
"test": "run-s clean build copy_test_environments copy_test_fixtures run_mocha",
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"copy_test_environments": "copyfiles -u 2 './test/environments/**/*.json' ./lib/test/environments",
- "run_mocha": "mocha lib/test/**/*_test.js",
+ "run_mocha": "mocha lib/test/**/*_test.js --exit",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
},
"bin": {