fix: use headless chrome in local

This commit is contained in:
1ambda 2017-07-11 19:40:20 +09:00
parent 481528f492
commit db016a314a
2 changed files with 2 additions and 4 deletions

View file

@ -19,7 +19,7 @@
"dev:watch": "grunt watch-webpack-dev",
"dev": "npm-run-all --parallel dev:server lint:watch dev:watch",
"test:watch": "karma start karma.conf.js --single-run=false",
"pree2e": "webdriver-manager update --gecko false --versions.chrome=2.27",
"pree2e": "webdriver-manager update --gecko false --versions.chrome=2.29",
"e2e": "protractor protractor.conf.js",
"pretest": "npm rebuild phantomjs-prebuilt",
"test": "karma start karma.conf.js"

View file

@ -42,8 +42,6 @@ if (process.env.TRAVIS) {
chromeOptions.binary = process.env.CHROME_BIN;
}
if (process.env.TRAVIS) {
baseConfig.capabilities.chromeOptions = chromeOptions;
}
baseConfig.capabilities.chromeOptions = chromeOptions;
exports.config = baseConfig;