Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Jun 19, 2020
1 parent 6797cb6 commit 18e1874
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,23 +108,25 @@ module.exports = function(config) {
flags: [
'-headless',
],
},
phantomjsLauncher: {

// Have phantomjs exit if a ResourceError is encountered (useful if
// karma exits without killing phantom)
exitOnResourceError: true
}
},

// PhantomJS custom settings
phantomjsLauncher: {

// Have phantomjs exit if a ResourceError is encountered (useful if
// karma exits without killing phantom)
exitOnResourceError: true
},

mochaReporter: {
showDiff: true
}
};

if (process.env.CIRCLECI) {
options.browsers = [
"phantomjsLauncher"
"PhantomJS"
];
};

Expand Down

0 comments on commit 18e1874

Please sign in to comment.