Skip to content

Instantly share code, notes, and snippets.

@csouchet
Created March 24, 2021 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csouchet/12e53d3a81e7de83f93ba666f0293074 to your computer and use it in GitHub Desktop.
Save csouchet/12e53d3a81e7de83f93ba666f0293074 to your computer and use it in GitHub Desktop.
Create new script to run e2e with Puppeteer
{
//...
"scripts": {
//...
"test:e2e": "cross-env DEBUG=test JEST_PUPPETEER_CONFIG=./test/e2e/jest-puppeteer.config.js jest --runInBand --detectOpenHandles --config=./test/e2e/jest.config.js",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment