Skip to content

Commit 35bdea1

Browse files
committed
Point directly to mocha instead of symlink in .bin. On Windows the file in .bin is not a symlink.
Inspired by solution in eslint
1 parent cde6d76 commit 35bdea1

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
@@ -7,7 +7,7 @@
77
"scripts": {
88
"test": "npm run lint && npm run unit-test",
99
"lint": "eslint ./",
10-
"unit-test": "istanbul cover --dir reports/coverage _mocha tests/**/*.js -- --reporter dot",
10+
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot",
1111
"coveralls": "cat ./reports/coverage/lcov.info | coveralls"
1212
},
1313
"files": [

0 commit comments

Comments
 (0)