Files
image-sequencer/jest-puppeteer.config.js
Jeffrey Warren e5ea6e5978 adjust gitpod settings to be able to run jest tests in gitpod (#1798)
* add xvfb to gitpod dockerfile to run jest tests in gitpod

* Update .gitpod.dockerfile

* jest running in gitpod, some timeouts
2021-01-25 13:53:17 -05:00

12 lines
341 B
JavaScript

module.exports = {
launch: {
args: ['--no-sandbox', '--disable-setuid-sandbox'], // https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#setting-up-chrome-linux-sandbox
headless: process.env.HEADLESS !== 'false',
},
server: {
command: 'grunt serve',
port:3000,
launchTimeout: 5000000,
},
};