Skip to content

Commit 749a918

Browse files
committed
exclude tests from coverage
1 parent 7539539 commit 749a918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"test": "jasmine spec/*spec.js",
88
"bundle": "browserify bin/parser.js --s parser > lib/parser.js",
9-
"coverage": "node ./benchmark/perfTest.js; istanbul cover jasmine --captureExceptions spec/*spec.js;",
10-
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 90 --statement 90"
9+
"coverage": "node ./benchmark/perfTest.js; istanbul cover -x \"spec/*spec.js\" jasmine spec/*spec.js;",
10+
"coverage:check": "istanbul check-coverage --branch 90 --statement 90"
1111
},
1212
"bin": {
1313
"xml2js": "cli.js"

0 commit comments

Comments
 (0)