diff --git a/package.json b/package.json index 7f9b320b78..145f167c2a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "coverage": "nyc report --reporter=text-lcov | coveralls", "test": "nyc ./test/run.sh", - "mocha": "nyc mocha ./test/mocha/*.js" + "mocha": "nyc ./node_modules/.bin/_mocha ./test/mocha/*.js" }, "devDependencies": { "async": "^1.3.0",