Skip to content

Commit

Permalink
fix: specify absolute mocha path in npm test script (#9)
Browse files Browse the repository at this point in the history
This fixes running `npm test` on Windows.
  • Loading branch information
busches authored and bcoe committed Dec 3, 2016
1 parent d2e43e4 commit 06196e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"fast": "mocha --slow 1000 test/",
"pretest": "jshint index.js lib/ test/",
"test": "istanbul cover -x 'docs/**' --include-all-sources --print=both _mocha -- --slow 2000 -t 5000 test/",
"test": "istanbul cover -x 'docs/**' --include-all-sources --print=both node_modules/mocha/bin/_mocha -- --slow 2000 -t 5000 test/",
"xposttest": "istanbul check-coverage --statements 95 --branches 80"
},
"repository": {
Expand Down

0 comments on commit 06196e5

Please sign in to comment.