@chealt/jest-puppeteer-env-preset
v1.1.3
Published
[![npm](https://img.shields.io/npm/v/@chealt/jest-puppeteer-env-preset.svg)](http://npm.im/@chealt/jest-puppeteer-env-preset) [![License](https://img.shields.io/npm/l/@chealt/jest-puppeteer-env-preset.svg)](/LICENSE)
Downloads
10
Readme
@chealt/jest-puppeteer-env-preset
Jest preset configuration for using the @chealt/jest-puppeteer-env to record and replay requests and responses during a test execution using Puppeteer.
Install
NPM
npm install @chealt/jest-puppeteer-env-preset puppeteer
Yarn
yarn add @chealt/jest-puppeteer-env-preset puppeteer
Usage
Update your Jest config with
{
"preset": "@chealt/jest-puppeteer-env-preset"
}
See additional environment options in the Puppeteer environment README.
See a more detailed example in the Jest Puppeteer Environment example package.