Skip to content

Commit 0577f20

Browse files
committed
update test and coverage script
1 parent 914b187 commit 0577f20

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
@@ -4,8 +4,8 @@
44
"description": "Rename css classes and id's in files",
55
"main": "./index.js",
66
"scripts": {
7-
"test": "find ./test/** ./lib/**/__tests__ -name *.spec.js | xargs mocha",
8-
"coverage": "istanbul cover _mocha -- -R spec test lib",
7+
"test": "mocha -R spec --recursive test lib",
8+
"coverage": "istanbul cover _mocha -- -R spec --recursive test lib",
99
"coveralls": "npm run coverage && coveralls < coverage/lcov.info"
1010
},
1111
"rcs": {

0 commit comments

Comments
 (0)