Skip to content

Commit

Permalink
Force mocha to exit once all tests complete
Browse files Browse the repository at this point in the history
  • Loading branch information
exsilium committed Mar 2, 2018
1 parent c6ebaa9 commit 045ea33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ script:

after_success:
- ./node_modules/.bin/jscoverage lib lib-cov
- XMODEM_COV=1 node_modules/.bin/mocha -S --bail --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
- XMODEM_COV=1 node_modules/.bin/mocha -S --bail --reporter mocha-lcov-reporter --exit | ./node_modules/coveralls/bin/coveralls.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "XMODEM implementation in JavaScript",
"main": "lib/index.js",
"scripts": {
"test": "node_modules/.bin/mocha -S --bail --reporter mochawesome",
"test-cov": "XMODEM_COV=1 node_modules/.bin/mocha -S --bail --reporter mocha-lcov-reporter",
"test": "node_modules/.bin/mocha -S --bail --reporter mochawesome --exit",
"test-cov": "XMODEM_COV=1 node_modules/.bin/mocha -S --bail --reporter mocha-lcov-reporter --exit",
"gendoc": "node_modules/.bin/jsdoc -c ./doc/jsdoc.conf -t ./node_modules/jsdoc-baseline -u ./doc/"
},
"keywords": [
Expand Down

0 comments on commit 045ea33

Please sign in to comment.