Skip to content

Commit

Permalink
Use istanbul report instead of rolling our own script
Browse files Browse the repository at this point in the history
Didn't know it could do that until now.
  • Loading branch information
TimothyGu committed Jan 3, 2015
1 parent 3e9fc2b commit c216e54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -66,7 +66,7 @@
},
"scripts": {
"test": "mocha -R spec && npm run coverage",
"coverage": "rimraf cov-pt* && istanbul cover --dir cov-pt0 node_modules/mocha/bin/_mocha && node support/cov-combine.js cov-pt*/coverage.json",
"coverage": "rimraf cov-pt* && istanbul cover --dir cov-pt0 node_modules/mocha/bin/_mocha && istanbul report --include cov-pt\*/coverage.json",
"prepublish": "npm prune && linify transform bin && npm run build",
"build": "npm run compile",
"compile": "npm run compile-full && npm run compile-runtime",
Expand Down
29 changes: 0 additions & 29 deletions support/cov-combine.js

This file was deleted.

0 comments on commit c216e54

Please sign in to comment.