From b6facf8b72fdf27255c4a993b0a427341f79b198 Mon Sep 17 00:00:00 2001 From: bochaco Date: Tue, 2 Apr 2019 23:17:20 -0300 Subject: [PATCH] test(coverage): minor fix due to issue in mocha on windows 7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 84bb875..f2351e4 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "postinstall": "grunt download", "docs": "rimraf docs/ && jsdoc -c jsdoc.json", "test": "cross-env NODE_ENV=test mocha --recursive", - "test-coverage": "cross-env NODE_ENV=test istanbul cover _mocha --report lcovonly -- -R spec --recursive test", + "test-coverage": "cross-env NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive test", "publish-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "pre-pack": "npm run lint", "prepush": "npm run lint && cross-env NODE_ENV=dev npm run test",