mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +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 => {
|
test.before('Start Puppeteer', async t => {
|
||||||
|
// https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions
|
||||||
browser = await puppeteer.launch({
|
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