Skip to content

Commit 89bd2f7

Browse files
committed
Merge pull request #189 from ParsePlatform/wangmengyan.add_coverage
Add istanbul for code coverage
2 parents f82122f + adccb28 commit 89bd2f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
"request": "^2.65.0"
2323
},
2424
"devDependencies": {
25+
"istanbul": "^0.4.2",
2526
"jasmine": "^2.3.2"
2627
},
2728
"scripts": {
28-
"test": "TESTING=1 ./node_modules/.bin/jasmine"
29+
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources ./node_modules/.bin/jasmine"
2930
},
3031
"engines": {
3132
"node": ">=4.1"

0 commit comments

Comments
 (0)