Skip to content

Commit 49770c4

Browse files
authored
Merge pull request #95 from github/copilot/sub-pr-94
Fix ChromeHeadless CI timeout on macOS
2 parents abb085d + bebb6c6 commit 49770c4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

karma.config.cjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ module.exports = function(config) {
1111
port: 9876,
1212
colors: true,
1313
logLevel: config.LOG_INFO,
14-
browsers: ['ChromeHeadless'],
14+
customLaunchers: {
15+
ChromeHeadlessNoSandbox: {
16+
base: 'ChromeHeadless',
17+
flags: ['--no-sandbox', '--disable-setuid-sandbox'],
18+
},
19+
},
20+
browsers: ['ChromeHeadlessNoSandbox'],
1521
autoWatch: false,
1622
singleRun: true,
1723
concurrency: Infinity

0 commit comments

Comments
 (0)