jest-puppeteer.config.js 322 B

12345678910111213141516
  1. // ps https://github.com/GoogleChrome/puppeteer/issues/3120
  2. module.exports = {
  3. launch: {
  4. headless: false,
  5. args: [
  6. '--disable-gpu',
  7. '--disable-dev-shm-usage',
  8. '--disable-setuid-sandbox',
  9. '--no-first-run',
  10. '--no-sandbox',
  11. '--no-zygote',
  12. '--single-process',
  13. ],
  14. },
  15. };