Skip to content

Commit

Permalink
Run nyc with the --all switch so that all of lib/* get included in th…
Browse files Browse the repository at this point in the history
…e coverage report, even the files that don't have any coverage.
  • Loading branch information
papandreou committed Mar 15, 2016
1 parent 36e50e8 commit 84e8312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "jshint .",
"test": "mocha --compilers md:unexpected-markdown test/*.js `find documentation -name '*.md'` && npm run lint",
"travis": "npm test && npm run coverage && (<coverage/lcov.info coveralls || true)",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text -- mocha --compilers md:unexpected-markdown test/*.js `find documentation -name '*.md'` && echo google-chrome coverage/lcov-report/index.html",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- mocha --compilers md:unexpected-markdown test/*.js `find documentation -name '*.md'` && echo google-chrome coverage/lcov-report/index.html",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples",
"deploy-site": "deploy-site.sh"
Expand Down

0 comments on commit 84e8312

Please sign in to comment.