From 9798fcf8394197567aafeaecf9235d24e176816f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 11 Jul 2017 23:06:01 +0100 Subject: [PATCH] make the npm test script windows-friendly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fc3dfa4a..ced495795 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test:build": "babel -s -d specbuild spec", - "test:run": "istanbul cover --report text --report cobertura --config .istanbul.yml -i \"lib/**/*.js\" _mocha -- --recursive specbuild --colors --reporter mocha-jenkins-reporter --reporter-options junit_report_path=reports/test-results.xml", + "test:run": "istanbul cover --report text --report cobertura --config .istanbul.yml -i \"lib/**/*.js\" node_modules/mocha/bin/_mocha -- --recursive specbuild --colors --reporter mocha-jenkins-reporter --reporter-options junit_report_path=reports/test-results.xml", "test:watch": "mocha --watch --compilers js:babel-core/register --recursive spec --colors", "test": "npm run test:build && npm run test:run", "check": "npm run test:build && _mocha --recursive specbuild --colors",