Merge pull request #117 from ochafik/jest-no-sandbox
Disable chrome sandbox on puppeteer test to fix CI
This commit is contained in:
commit
03d0589575
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
launch: {
|
launch: {
|
||||||
headless: process.env.CI === "true",
|
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: {
|
server: {
|
||||||
command: `npm run start:${process.env.NODE_ENV}`,
|
command: `npm run start:${process.env.NODE_ENV}`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue