Skip to content

Commit 0b4e3f3

Browse files
committed
refactor: disable chrome sandbox as it no longer works in CI
This commit disables the chrome sandbox
1 parent 85e6a86 commit 0b4e3f3

File tree

2 files changed

+2
-2
lines changed
  • modules/testing/builder/projects/hello-world-app
  • packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib

2 files changed

+2
-2
lines changed

modules/testing/builder/projects/hello-world-app/karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = function(config) {
4747
base: 'ChromeHeadless',
4848
flags: [
4949
'--disable-gpu',
50-
...(process.env.CHROME_NO_SANDBOX === '1' ? ['--no-sandbox'] : []),
50+
'--no-sandbox'
5151
],
5252
},
5353
},

packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = function (config) {
4242
base: 'ChromeHeadless',
4343
flags: [
4444
'--disable-gpu',
45-
...(process.env.CHROME_NO_SANDBOX === '1' ? ['--no-sandbox'] : []),
45+
'--no-sandbox'
4646
],
4747
}
4848
},

0 commit comments

Comments
 (0)