mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
disable puppeteer sandbox for tests
This commit is contained in:
parent
be4fc4a518
commit
45bba51e96
@ -34,8 +34,9 @@ test.before('Init Nuxt.js', async t => {
|
||||
})
|
||||
|
||||
test.before('Start Puppeteer', async t => {
|
||||
// https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions
|
||||
browser = await puppeteer.launch({
|
||||
// https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user