ts-jest-puppeteer
Installation
yarn add -D ts-jest-puppeteer
Usage
// jest.config.js moduleexports = preset: 'ts-jest-puppeteer'
Launch Options
You can custom your puppeteer launch option thro PUPPETEER_LAUNCH_CONFIG
env. The default value is puppeteer-launch.js
// puppeteer-launch.js moduleexport = // launch options
$ PUPPETEER_LAUNCH_CONFIG=puppeteer-launch.js jest
Example
// google.spec.ts