Skip to content

Commit

Permalink
Fix Chrome start in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Jan 14, 2025
1 parent 9feb09b commit b57643d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/.karma/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ module.exports = async (config) => {
plugins: [...config.plugins, await capMiddleware],
middleware: ["cap-proxy"],
browsers: config.ci ? ["ChromeHeadless"] : ["Chrome"],
customLaunchers: {
ChromeHeadless: {
base: 'Chrome',
flags: [
'--no-sandbox'
]
}
},
singleRun: config.ci || config.singleRun || false
});
};

0 comments on commit b57643d

Please sign in to comment.