Skip to content

Commit 6445589

Browse files
authored
ci: Fix ChromeLauncher for Travis integration tests (#1196)
1 parent fbce1cd commit 6445589

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

karma.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ module.exports = {
4545

4646
// start these browsers
4747
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
48-
browsers: ['ChromeHeadless', 'FirefoxHeadless'],
48+
browsers: ['ChromeHeadlessNoSandbox', 'FirefoxHeadless'],
4949

5050
customLaunchers: {
51+
ChromeHeadlessNoSandbox: {
52+
base: 'ChromeHeadless',
53+
flags: ['--no-sandbox', '--disable-setuid-sandbox']
54+
},
5155
FirefoxHeadless: {
5256
base: 'Firefox',
5357
flags: ['-headless']

0 commit comments

Comments
 (0)