Skip to content

Commit

Permalink
Exclude test.js from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
svenschoenung committed Jul 29, 2018
1 parent c120cee commit e8fc4df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -27,9 +27,9 @@
"mocha-lcov-reporter": "^1.3.0"
},
"scripts": {
"test": "istanbul cover ./node_modules/mocha/bin/_mocha test.js --report html -- -R spec",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha test.js --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"codacy": "istanbul cover ./node_modules/mocha/bin/_mocha test.js --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
"test": "istanbul cover ./node_modules/mocha/bin/_mocha test.js -x test.js --report html -- -R spec",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha test.js -x test.js --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"codacy": "istanbul cover ./node_modules/mocha/bin/_mocha test.js --x test.js -report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
},
"keywords": [
"gulp",
Expand Down

0 comments on commit e8fc4df

Please sign in to comment.