Skip to content

Commit

Permalink
Update karma.conf.js to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Dec 24, 2024
1 parent 6e39b56 commit 6bd8f2c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tools/test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,21 @@ module.exports = (config) => {
random: false,
},
},
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
// See /integration/README.md#browser-tests for more info on these args
flags: [
'--no-sandbox',
'--headless',
'--disable-gpu',
'--disable-dev-shm-usage',
'--hide-scrollbars',
'--mute-audio',
],
},
},
browsers: ['ChromeHeadlessNoSandbox'],
});

if (process.env['CI']) {
Expand Down

0 comments on commit 6bd8f2c

Please sign in to comment.