@chealt/jest-puppeteer-mock-preset

0.14.2 • Public • Published

npm License

@chealt/jest-puppeteer-mock-preset

Jest preset configuration for using the @chealt/jest-mock-environment to record and replay requests and responses during a test execution using Puppeteer.

Install

NPM

npm install @chealt/jest-puppeteer-mock-preset puppeteer

Yarn

yarn add @chealt/jest-puppeteer-mock-preset puppeteer

Usage

Update your Jest config with

{
  "preset": "@chealt/jest-puppeteer-mock-preset"
}

See additional environment options in the mock environment README.

See a more detailed example in the Jest Mock example package.

Readme

Keywords

none

Package Sidebar

Install

npm i @chealt/jest-puppeteer-mock-preset

Weekly Downloads

0

Version

0.14.2

License

MIT

Unpacked Size

2.88 kB

Total Files

4

Last publish

Collaborators

  • chealt