Skip to content

Commit d4a5aff

Browse files
committed
fix: update test and coverage npm scripts
- no need to provide path into node_modules - remove single-quotes around glob expressions - tests were not being run with them in place
1 parent 404cb09 commit d4a5aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "A Karma plugin. Report all spec-results to console (like mocha's spec reporter).",
55
"main": "index.js",
66
"scripts": {
7-
"test": "./node_modules/.bin/mocha-runner --reporter spec 'test/**/*.spec.js'",
8-
"coverage": "./node_modules/.bin/istanbul cover -x 'test/**/*.js' ./node_modules/.bin/mocha-runner -- --reporter spec 'test/**/*.js'"
7+
"test": "mocha-runner --reporter spec test/**/*.spec.js",
8+
"coverage": "istanbul cover -x test/**/*.js ./node_modules/.bin/mocha-runner -- --reporter spec test/**/*.js"
99
},
1010
"repository": {
1111
"type": "git",

0 commit comments

Comments
 (0)