Skip to content

Commit

Permalink
Merge pull request #127 from martinRenou/remove_pupeteer
Browse files Browse the repository at this point in the history
Remove pupeteer
  • Loading branch information
martinRenou committed May 20, 2019
2 parents 1f1ff46 + 6898395 commit 3360626
Show file tree
Hide file tree
Showing 4 changed files with 915 additions and 947 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: c
os:
- linux
- osx
addons:
chrome: beta
env:
matrix:
- PYTHON_VERSION=2.7
Expand Down
9 changes: 4 additions & 5 deletions js/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var webpackConfig = require('./webpack.config.js');
var webpack = require('webpack');
var path = require('path');
const process = require('process');
process.env.CHROME_BIN = require('puppeteer').executablePath();


module.exports = function (config) {
Expand Down Expand Up @@ -39,11 +38,11 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['HeadlessChrome'],
customLaunchers: {
HeadlessChrome: {
browsers: ['ChromeHeadless'],
customLauncher: {
ChromeHeadless: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
flags: ['--headless', '--remote-debugging-port=9222']
}
},
// if true, Karma captures browsers, runs the tests and exits
Expand Down

0 comments on commit 3360626

Please sign in to comment.