Disable chrome sandbox on puppeteer test for CI
This commit is contained in:
parent
4b591c4bfc
commit
400b840e55
1 changed files with 10 additions and 0 deletions
|
|
@ -3,4 +3,14 @@ module.exports = {
|
||||||
testMatch: [
|
testMatch: [
|
||||||
"**/tests/**/*.js",
|
"**/tests/**/*.js",
|
||||||
],
|
],
|
||||||
|
globals: {
|
||||||
|
'jest-puppeteer': {
|
||||||
|
launch: {
|
||||||
|
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',
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue