From 5e3e810d1d42b1b684503ebdf85847c5d3b7d3b2 Mon Sep 17 00:00:00 2001 From: bochaco Date: Tue, 2 Apr 2019 23:47:27 -0300 Subject: [PATCH] test(coverage): minor fix due to issue in mocha on windows 7 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f335a5b..d6fe6bb 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "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", - "publish-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", + "test-coverage": "cross-env NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive test", + "publish-coverage": "mv ./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", "prepublishOnly": "npm run lint && npm run test"