Skip to content

Commit 66d61f2

Browse files
authored
use chrome --no-sandbox
1 parent e7c51b6 commit 66d61f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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+
browsers: ['ChromeHeadlessNoSandbox'],
15+
customLaunchers: {
16+
ChromeHeadlessNoSandbox: {
17+
base: 'ChromeHeadless',
18+
flags: ['--no-sandbox']
19+
}
20+
},
1521
autoWatch: false,
1622
singleRun: true,
1723
concurrency: Infinity

0 commit comments

Comments
 (0)