From f852044606f7c3e496330820a467e01535f8fa9c Mon Sep 17 00:00:00 2001 From: Sabeur Thabti Date: Sun, 28 Aug 2016 23:36:38 +0100 Subject: [PATCH] fix unit tests fix unit tests --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c136131e8..a43dd4f5a 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ "repository": "https://github.com/quran/quran.com-frontend", "scripts": { "test": "npm run test:dev:unit", - "test:ci:unit": "node_modules/.bin/karma start --browsers PhantomJS --single-run; npm run test:ci:lint", + "test:ci:unit": "karma start --browsers PhantomJS --single-run; npm run test:ci:lint", "test:ci:functional": "BROWSER=phantomjs bash tests/functional/test.sh start-ci", "posttest:ci:functional": "bash tests/functional/test.sh stop", - "test:dev:unit": "./node_modules/.bin/karma start", - "test:ci:lint": "node_modules/eslint ./src/**/*.js", + "test:dev:unit": "./node_modules/karma/bin/karma start", + "test:ci:lint": "eslint ./src/**/*.js", "test:dev:functional": "BROWSER=chrome bash tests/functional/test.sh start", "posttest:dev:functional": "bash tests/functional/test.sh stop", - "test:dev:lint": "./node_modules/.bin/eslint ./src/scripts/**/*.js", + "test:dev:lint": "node_modules/eslint/bin/eslint.js ./src/scripts/**/*.js", "test:stylelint": "node_modules/stylelint/dist/cli.js './src/**/*.scss' --config webpack/.stylelintrc", "dev": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js", "start": "NODE_PATH=\"./src\" node ./start",