Skip to content

Commit 621fd53

Browse files
committed
test: add istanbul for code coverage
1 parent 47f579b commit 621fd53

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/coverage/
2+
/node_modules/

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ setup:
1616
@npm install
1717

1818
test:
19-
@$(bin)/mocha test --compilers coffee:coffee-script
19+
@$(bin)/istanbul cover $(bin)/_mocha -- --compilers coffee:coffee-script

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"coffee-script": "1.4.x",
17+
"istanbul": "0.2.x",
1718
"mocha": "1.8.x",
1819
"uglify-js": "2.2.x"
1920
}

0 commit comments

Comments
 (0)