jest-puppeteer.config.js 321 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2 3
// ps https://github.com/GoogleChrome/puppeteer/issues/3120
module.exports = {
  launch: {
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
4
    headless: true,
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
5 6 7 8 9 10 11 12 13 14 15
    args: [
      '--disable-gpu',
      '--disable-dev-shm-usage',
      '--disable-setuid-sandbox',
      '--no-first-run',
      '--no-sandbox',
      '--no-zygote',
      '--single-process',
    ],
  },
};