Skip to content

Commit 03d0589

Browse files
authored
Merge pull request #117 from ochafik/jest-no-sandbox
Disable chrome sandbox on puppeteer test to fix CI
2 parents 4b591c4 + bc42ea2 commit 03d0589

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jest-puppeteer.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
module.exports = {
22
launch: {
33
headless: process.env.CI === "true",
4+
args: [
5+
// 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
6+
'--no-sandbox',
7+
],
48
},
59
server: {
610
command: `npm run start:${process.env.NODE_ENV}`,

0 commit comments

Comments
 (0)