Skip to content

Commit

Permalink
Switch to chrome headless
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Sep 21, 2019
1 parent 4e3f178 commit c396aec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"http-server": "^0.9.0",
"jasmine": "^2.5",
"karma": "^1.3",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^1.0",
"karma-puppeteer-launcher": "^1.0.4",
"leaflet": "^1.0",
"puppeteer": "^1.20.0"
}
Expand Down
3 changes: 2 additions & 1 deletion spec/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Karma configuration
// Generated on Wed Mar 16 2016 06:58:00 GMT-0700 (PDT)
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function(config) {
config.set({
Expand Down Expand Up @@ -63,7 +64,7 @@ module.exports = function(config) {

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


// Continuous Integration mode
Expand Down

0 comments on commit c396aec

Please sign in to comment.