Skip to content
Snippets Groups Projects
Select Git revision
  • 2406eda5663463ed65c6f1398cfb23020e4e11de
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • video_for_annotations
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
16 results

jest-puppeteer.config.js

Blame
  • Loïs Poujade's avatar
    Loïs Poujade authored
    - dont ignore package-lock (needed for npm ci)
    - use puppeteer container
    - use junit for proper gitlab tests reports integration
    - chrome without sandbox to not require SYS_ADMIN docker cap (cf
      https://pptr.dev/guides/docker)
    b2c6ff20
    History
    jest-puppeteer.config.js 268 B
    module.exports = {
      launch: {
        args: ['--no-sandbox', '--disable-setuid-sandbox'],
        headless: process.env.HEADLESS !== 'false',
      },
      server: [{
        command: 'npm run server -- -p 4488',
        host: '127.0.0.1',
        launchTimeout: 5000,
        port: 4488,
      }],
    };