Skip to content

Commit 3360626

Browse files
authored
Merge pull request #127 from martinRenou/remove_pupeteer
Remove pupeteer
2 parents 1f1ff46 + 6898395 commit 3360626

File tree

4 files changed

+915
-947
lines changed

4 files changed

+915
-947
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ language: c
22
os:
33
- linux
44
- osx
5+
addons:
6+
chrome: beta
57
env:
68
matrix:
79
- PYTHON_VERSION=2.7

js/karma.conf.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ var webpackConfig = require('./webpack.config.js');
44
var webpack = require('webpack');
55
var path = require('path');
66
const process = require('process');
7-
process.env.CHROME_BIN = require('puppeteer').executablePath();
87

98

109
module.exports = function (config) {
@@ -39,11 +38,11 @@ module.exports = function (config) {
3938
logLevel: config.LOG_INFO,
4039
autoWatch: true,
4140
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
42-
browsers: ['HeadlessChrome'],
43-
customLaunchers: {
44-
HeadlessChrome: {
41+
browsers: ['ChromeHeadless'],
42+
customLauncher: {
43+
ChromeHeadless: {
4544
base: 'ChromeHeadless',
46-
flags: ['--no-sandbox']
45+
flags: ['--headless', '--remote-debugging-port=9222']
4746
}
4847
},
4948
// if true, Karma captures browsers, runs the tests and exits

0 commit comments

Comments
 (0)