Skip to content

Commit 4b429ec

Browse files
committed
Remove sandbox protection to allow running headless chrome
1 parent c528b60 commit 4b429ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ module.exports = function(config) {
5151
customLaunchers: {
5252
Chrome_without_security: {
5353
base: 'Chrome',
54-
flags: ['--disable-web-security'],
54+
flags: ['--disable-web-security', '--no-sandbox'],
5555
},
5656

5757
ChromeHeadless_without_security: {
5858
base: 'ChromeHeadless',
59-
flags: ['--disable-web-security'],
59+
flags: ['--disable-web-security', '--no-sandbox'],
6060
},
6161
},
6262

0 commit comments

Comments
 (0)