From 1583ca7a1cf6305ea9cab879d42c2b947b285522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Sun, 13 Oct 2024 05:52:47 +0200 Subject: [PATCH] No sandboxed puppeteer launch (#343) --- jest-puppeteer.config.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/jest-puppeteer.config.cjs b/jest-puppeteer.config.cjs index 3f722dea..4ef61825 100644 --- a/jest-puppeteer.config.cjs +++ b/jest-puppeteer.config.cjs @@ -3,6 +3,7 @@ const process = require('node:process'); module.exports = { launch: { headless: process.env.TEST_HEADLESS !== 'false', + args: ['--no-sandbox', '--disable-setuid-sandbox'], }, server: { command: 'npm run serve',