diff --git a/package.json b/package.json index 88e6f7bb..fb370e1c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test_build": "rollup -c", "test": "yarn test:node && yarn test:web", "test:node": "jest", - "test:web": "./node_modules/karma/bin/karma start karma.conf.js --auto-watch", + "test:web": "node ./node_modules/karma/bin/karma start karma.conf.js --auto-watch", "test:build": "cd ./scripts && jest check-build.test.js", "test:build:web": "node ./scripts/proxy-browser-test.js", "watch:test": "jest --watch", diff --git a/scripts/proxy-browser-test.js b/scripts/proxy-browser-test.js index 5d986585..9e3fdc15 100644 --- a/scripts/proxy-browser-test.js +++ b/scripts/proxy-browser-test.js @@ -34,7 +34,7 @@ const stop = () => { if (!process.env.CI) { start(); require('child_process').execSync( - './node_modules/karma/bin/karma start ./scripts/karma.conf.js', + 'node ./node_modules/karma/bin/karma start ./scripts/karma.conf.js', { stdio: [0, 1, 2] } ); stop();