Skip to content

Commit 561e147

Browse files
authored
No sandboxed puppeteer launch (#131)
1 parent 9c6621b commit 561e147

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jest-puppeteer.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const PORT = 8080;
66
module.exports = {
77
launch: {
88
headless: process.env.TEST_HEADLESS !== "false",
9+
args: ['--no-sandbox', '--disable-setuid-sandbox'],
910
},
1011
server: {
1112
command: `anywhere -s -p ${PORT} -d ${PAGE_DIR}`,

0 commit comments

Comments
 (0)