Skip to content

Commit be9e405

Browse files
authored
use chrome --no-sandbox
1 parent dc7226e commit be9e405

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/karma.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ module.exports = function (config) {
3434
port: 9876,
3535
colors: true,
3636
logLevel: config.LOG_INFO,
37-
browsers: ['ChromeHeadless'],
37+
browsers: ['ChromeHeadlessNoSandbox'],
38+
customLaunchers: {
39+
ChromeHeadlessNoSandbox: {
40+
base: 'ChromeHeadless',
41+
flags: ['--no-sandbox']
42+
}
43+
},
3844
autoWatch: false,
3945
singleRun: true,
4046
concurrency: Infinity,

0 commit comments

Comments
 (0)