Skip to content

Commit

Permalink
Run ChromeHeadLess without sandbox in CI (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Dec 4, 2023
1 parent 3ae60f6 commit ef050de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ module.exports = function(grunt) {
karma: {
options: {
singleRun: true,
browsers: process.env.CI ? ['ChromeHeadless'] : ['Chrome']
browsers: process.env.CI ? ['ChromeHeadlessNoSandbox'] : ['Chrome'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
},
test: {
configFile: './test/karma.conf.js',
Expand Down

0 comments on commit ef050de

Please # to comment.