Add Istanbul for code coverage, parameter tests for 100% coverage.

This commit is contained in:
David Anson 2015-03-11 21:13:21 -07:00
parent 285a30e124
commit 77da8da9cf
3 changed files with 39 additions and 0 deletions

View file

@ -15,6 +15,7 @@
},
"scripts": {
"test": "nodeunit",
"test-cover": "istanbul cover node_modules/nodeunit/bin/nodeunit",
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
"lint": "eslint lib test"
},
@ -23,6 +24,7 @@
},
"devDependencies": {
"eslint": "^0.15.0",
"istanbul": "^0.3.7",
"nodeunit": "^0.9.0",
"q": "^1.2.0"
},