Skip to content

Commit

Permalink
Use istanbul to collect code coverage info. Fixes #57
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Castelluccio committed Nov 2, 2015
1 parent d81b408 commit a18b58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Web Push library for Node.js",
"main": "index.js",
"scripts": {
"test": "mocha --ui tdd test/tests/ --harmony"
"test": "node --harmony node_modules/.bin/istanbul cover _mocha -- --ui tdd test/tests/"
},
"repository": {
"type": "git",
Expand All @@ -30,6 +30,7 @@
"devDependencies": {
"dmg": "^0.1.0",
"fs-extra": "^0.26.0",
"istanbul": "^0.4.0",
"request": "^2.64.0",
"selenium-webdriver": "^2.47.0",
"temp": "^0.8.3"
Expand Down

0 comments on commit a18b58d

Please sign in to comment.