Skip to content

Commit

Permalink
chore(karma): set browser to ChromeHeadless with --no-sandbox
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
  • Loading branch information
willsoto committed Feb 19, 2025
1 parent c6cc85b commit 10ec4ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ["ChromeHeadless"],
browsers: ["ChromeHeadlessCI"],
customLaunchers: {
ChromeHeadlessCI: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
},
singleRun: false,
restartOnFileChange: true,
});
Expand Down

0 comments on commit 10ec4ae

Please sign in to comment.