Skip to content

Commit

Permalink
fix: chrome headless sandbox error
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenjohanson committed Oct 10, 2024
1 parent 2d7c2fc commit 938a65d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['ChromeHeadless'],
browsers: ['ChromeHeadlessNoSandbox'],
singleRun: false,
restartOnFileChange: true
restartOnFileChange: true,
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
}
});
};

0 comments on commit 938a65d

Please sign in to comment.