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',
    ],
  },
};