Skip to content

Commit ec790d5

Browse files
committed
Add chromeheadless no sandbox for CI
1 parent 5fd0863 commit ec790d5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

karma.conf.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@ module.exports = function (config) {
5656
// enable / disable watching file and executing tests whenever any file changes
5757
autoWatch: true,
5858

59-
60-
browsers: ['ChromeHeadless'],
59+
customLaunchers: {
60+
ChromeHeadlessNoSandbox: {
61+
base: 'ChromeHeadless',
62+
flags: ['--no-sandbox', '--disable-gpu']
63+
}
64+
},
65+
browsers: ['ChromeHeadlessNoSandbox'],
6166

6267

6368
// Continuous Integration mode

0 commit comments

Comments
 (0)