Skip to content

Commit cf601d6

Browse files
committed
CI: fix ChromeHeadless launcher
1 parent d3e3782 commit cf601d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

karma.conf.cjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ module.exports = function(config) {
6262
// enable / disable watching file and executing tests whenever any file changes
6363
autoWatch: false,
6464

65-
browsers: ['ChromeHeadless'],
65+
customLaunchers: {
66+
ChromeHeadlessCI: {
67+
base: 'ChromeHeadless',
68+
flags: ['--no-sandbox'],
69+
},
70+
},
71+
browsers: ['ChromeHeadlessCI'],
6672

6773
// Continuous Integration mode
6874
// if true, Karma captures browsers, runs the tests and exits

0 commit comments

Comments
 (0)