File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
launch : {
3
3
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
+ ] ,
4
8
} ,
5
9
server : {
6
10
command : `npm run start:${ process . env . NODE_ENV } ` ,
Original file line number Diff line number Diff line change @@ -3,14 +3,5 @@ module.exports = {
3
3
testMatch : [
4
4
"**/tests/**/*.js" ,
5
5
] ,
6
- globals : {
7
- 'jest-puppeteer' : {
8
- launch : {
9
- args : [
10
- // 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
11
- '--no-sandbox' ,
12
- ] ,
13
- }
14
- }
15
- } ,
6
+ // Browser launch arguments are now defined in jest-puppeteer.config.js
16
7
} ;
You can’t perform that action at this time.
0 commit comments