From 35bdea1d89ee2a7f93c280183b2888f2c0e6628d Mon Sep 17 00:00:00 2001 From: Michael Ferris Date: Mon, 15 Jun 2015 22:43:54 -0400 Subject: [PATCH] Point directly to mocha instead of symlink in .bin. On Windows the file in .bin is not a symlink. Inspired by solution in eslint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fae9b10475..6d0147c967 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "test": "npm run lint && npm run unit-test", "lint": "eslint ./", - "unit-test": "istanbul cover --dir reports/coverage _mocha tests/**/*.js -- --reporter dot", + "unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot", "coveralls": "cat ./reports/coverage/lcov.info | coveralls" }, "files": [