From d7bedfd60f8843bfecc2a6b8e57b6f3e4354f046 Mon Sep 17 00:00:00 2001 From: Alexandr Subbotin Date: Sat, 19 Nov 2016 12:11:52 +0100 Subject: [PATCH] Fix `npm run test` on travis, remove e2e tests from travis builds --- .travis.yml | 1 - package.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53478168..f9d0c190 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,4 +33,3 @@ script: - npm run lint - npm run test - npm run build -- npm run test-e2e diff --git a/package.json b/package.json index d06b8e27..6461d47d 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,8 @@ "description": "Extendable electron-based open-source spolight and alfred analogue", "main": "main.js", "scripts": { - "test": "./node_modules/.bin/mocha-webpack -w", + "test": "./node_modules/.bin/mocha-webpack", "test-watch": "npm test -- --watch", - "test-e2e": "cross-env NODE_ENV=test mocha --compilers js:babel-register --require ./test/setup.js --require co-mocha ./test/e2e.js", "lint": "eslint app test *.js", "hot-server": "node -r babel-register server.js", "build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",