Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jest-nock-vcr

bmealhouse2MIT0.1.0

Installation

readme

jest-nock-vcr

Installation

yarn add jest-nock-vcr --dev

Getting started

  1. Configure Jest in package.json:
{
  "jest": {
    "testRunner": "jest-nock-vcr",
    "watchPathIgnorePatterns": [
      "__recordings__"
    ]
  }
}
  1. Run your tests to start recording!