Skip to content

Commit

Permalink
Include all sources for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchas116 committed Jul 7, 2016
1 parent dbf0e30 commit d855930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/coveralls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- lib/test
NODE_ENV=test ./node_modules/.bin/istanbul cover --include-all-sources --root lib ./node_modules/mocha/bin/_mocha -- lib/test
cat coverage/coverage.json | ./node_modules/.bin/remap-istanbul -e config > coverage/coverage-remap.json
./node_modules/.bin/istanbul report lcovonly --include coverage/coverage-remap.json
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

0 comments on commit d855930

Please sign in to comment.