From d4548ef5a508c826c1ce60b81aa420dc1a241855 Mon Sep 17 00:00:00 2001 From: Tim Coulter Date: Mon, 29 Feb 2016 11:28:58 -0800 Subject: [PATCH] Get the tests to run by specifiying direct path to mocha executable (https://github.com/gotwarlost/istanbul/issues/90). Put them back into npm prepublish. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c50e26..f24f165 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "rebuild": "node-gyp rebuild", "test": "npm run test:node && npm run test:browser", "test:browser": "karma start karma.conf.js", - "test:node": "istanbul test _mocha -- --reporter spec test/index.js" + "test:node": "istanbul test node_modules/mocha/bin/_mocha -- --reporter spec test/index.js" }, "dependencies": { "bindings": "^1.2.1",