Skip to content

Commit 1a37531

Browse files
committed
chore(tests): use relative path to _mocha
See: gotwarlost/istanbul#90
1 parent 06c0fd3 commit 1a37531

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
@@ -12,7 +12,7 @@
1212
"report-coverage": "cat ./coverage/lcov.info | codecov",
1313
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
1414
"start": "npm run test:watch",
15-
"test": "istanbul cover -x ./test _mocha -- -R spec test/tests/index.js --compilers js:babel/register",
15+
"test": "istanbul cover -x ./test node_modules/mocha/bin/_mocha -- -R spec test/tests/index.js --compilers js:babel/register",
1616
"test:watch": "nodemon -q --ignore test/.tmp/ --ignore test/artifacts/ --ignore coverage/ --exec \"npm run test\" --",
1717
"test:windows": "node ./test/tools/trigger-appveyor-tests.js"
1818
},

0 commit comments

Comments
 (0)