Skip to content

Commit 8e6b081

Browse files
committed
Adds Istanbul code coverage.
1 parent 19849e1 commit 8e6b081

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/node_modules/
2+
/coverage/

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
"promise": "~4.0.0"
88
},
99
"devDependencies": {
10-
"mocha": "~1.18.2"
10+
"mocha": "~1.18.2",
11+
"istanbul": "~0.2.7"
1112
},
1213
"scripts": {
13-
"test": "mocha test"
14+
"test": "istanbul cover _mocha -- test"
1415
},
1516
"author": "Tim Branyen (@tbranyen)",
1617
"license": "MIT"

0 commit comments

Comments
 (0)