Skip to content

Commit

Permalink
Revert "Revert "Build: Use karma-chrome-launcher to run tests (eslint…
Browse files Browse the repository at this point in the history
…#10898)" (eslint#10973)"

This reverts commit 536611a.
  • Loading branch information
aladdin-add committed Oct 17, 2018
1 parent 577cbf1 commit df7eeb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions karma.conf.js
Expand Up @@ -67,8 +67,13 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["PhantomJS"],

browsers: ["HeadlessChrome"],
customLaunchers: {
HeadlessChrome: {
base: 'ChromeHeadless',
flags: [ '--no-sandbox', ],
},
},

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -100,14 +100,13 @@
"karma-babel-preprocessor": "^7.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-phantomjs-launcher": "^1.0.4",
"karma-chrome-launcher": "^2.2.0",
"leche": "^2.2.3",
"load-perf": "^0.2.0",
"markdownlint": "^0.11.0",
"mocha": "^5.0.5",
"mock-fs": "^4.6.0",
"npm-license": "^0.3.3",
"phantomjs-prebuilt": "^2.1.16",
"proxyquire": "^2.0.1",
"shelljs": "^0.8.2",
"sinon": "^3.3.0",
Expand Down

0 comments on commit df7eeb7

Please sign in to comment.