Merge pull request #117 from ochafik/jest-no-sandbox

Disable chrome sandbox on puppeteer test to fix CI
This commit is contained in:
Torsten Paul 2025-04-20 21:39:52 +02:00 committed by GitHub
commit 03d0589575
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,10 @@
module.exports = {
launch: {
headless: process.env.CI === "true",
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',
],
},
server: {
command: `npm run start:${process.env.NODE_ENV}`,