Skip to content

Commit

Permalink
run both the tests w/ with out coverage
Browse files Browse the repository at this point in the history
the exit code isn't relayed from istanbul...
  • Loading branch information
esatterwhite committed Jan 11, 2017
1 parent d17c119 commit fe94126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions compose/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ services:
- node-2
- node-3
- node-4
command: >
npm run coverage
command: /bin/sh -c "npm test && npm run coverage"

nats-a:
image: nats:latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"test": "node ./test.js",
"coverage": "istanbul cover _mocha -- -R spec --recursive test/",
"coverage": "istanbul cover _mocha -- -R progress --recursive test/",
"postcoverage": "cat ./coverage/lcov.info | ./node_modules/.bin/codeclimate-test-reporter",
"docs": "jsdoc -c jsdoc.json && apidoc -i lib/server -o docs/api",
"start": "npm run compose:up",
Expand Down

0 comments on commit fe94126

Please sign in to comment.