Skip to content

Commit 6ae5007

Browse files
author
chuckd
committed
Exclude compat.js from coverage
1 parent 670fcce commit 6ae5007

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.webpack2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "mocha --harmony",
1010
"nopretest": "mocha --harmony",
1111
"travis:test": "npm run -s test",
12-
"cover": "istanbul cover -x index.js -x **/*.runtime.js node_modules/mocha/bin/_mocha",
12+
"cover": "istanbul cover -x index.js -x lib/compat.js -x **/*.runtime.js node_modules/mocha/bin/_mocha",
1313
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
1414
},
1515
"dependencies": {

package.webpack3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "mocha --harmony",
1010
"nopretest": "mocha --harmony",
1111
"travis:test": "npm run -s test",
12-
"cover": "istanbul cover -x index.js -x **/*.runtime.js node_modules/mocha/bin/_mocha",
12+
"cover": "istanbul cover -x index.js -x lib/compat.js -x **/*.runtime.js node_modules/mocha/bin/_mocha",
1313
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
1414
},
1515
"dependencies": {

0 commit comments

Comments
 (0)