Disable chrome sandbox on puppeteer test for CI

This commit is contained in:
ochafik 2025-03-25 23:32:19 +00:00
commit 400b840e55

View file

@ -3,4 +3,14 @@ module.exports = {
testMatch: [
"**/tests/**/*.js",
],
globals: {
'jest-puppeteer': {
launch: {
args: [
// https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md#what-if-i-dont-have-root-access-to-the-machine-and-cant-install-anything
'--no-sandbox',
],
}
}
},
};