Skip to content
Snippets Groups Projects
Commit 0202a724 authored by Chris Beer's avatar Chris Beer
Browse files

Run tests using headless chrome by default

Instead of opting out of headless mode (using `CI=true`), switch the jest-puppeteer configuration to use an opt-in environment variable (`HEADLESS=false`).
parent 84c91e45
No related branches found
No related tags found
No related merge requests found
module.exports = {
launch: {
headless: process.env.CI === 'true',
headless: process.env.HEADLESS !== 'false',
},
server: {
command: 'npm run server -- -p 4488',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment