Skip to content

Commit 2638d6b

Browse files
committed
Exclude test folder from coverage
Signed-off-by: Fabio José <[email protected]>
1 parent 0083f12 commit 2638d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "./node_modules/.bin/mocha -C test/*.js",
8-
"coverage": "./node_modules/.bin/istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
8+
"coverage": "./node_modules/.bin/istanbul cover '**/test/**' _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
99
},
1010
"repository": {
1111
"type": "git",

0 commit comments

Comments
 (0)