Skip to content

Commit

Permalink
test: Add script to report coverage as html for local use
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Oct 17, 2018
1 parent 4848727 commit b245142
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 344 deletions.
344 changes: 0 additions & 344 deletions coverage/lcov.info

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"test": "npx mocha -r esm --reporter=spec 'test/**/*.spec.js' --timeout=0 ; rm -rf test/_tmp/*.*",
"test-docker": "circleci local execute --job build",
"coverage": "npx nyc --reporter=lcov npm test",
"coverage-html": "npx nyc --reporter=html npm test",
"coveralls": "cat ./coverage/lcov.info | npx coveralls"
},
"repository": {
Expand Down

0 comments on commit b245142

Please sign in to comment.