jest-environment-puppeteer with puppeteer-core example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
.gitignore
README.md
jest-puppeteer.config.js
jest.config.js
package.json
yarn.lock

README.md

Example for use jest-puppeteer with puppeteer-core

use module-alias to make require('puppeteer') as require('puppeteer-core')

usage

$ git clone https://github.com/superwf/jest-with-puppeteer-core.git
$ yarn

⚠️ change your chrome path in file jest-puppeteer.config.js section executablePath, then run.

$ npx jest