Skip to content

Commit

Permalink
eslint: Replaced phantomJS by chrome
Browse files Browse the repository at this point in the history
Removed phantomjs dependency from package.json and
karma.conf.js.

Signed-off-by: ossdev07 <ossdev@puresoftware.com>
  • Loading branch information
ossdev07 committed Sep 27, 2018
1 parent e51868d commit b085b6d
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 b085b6d

Please sign in to comment.