jest-nock-vcr

yarn add jest-nock-vcr --dev

Usage no npm install needed!

<script type="module">
  import jestNockVcr from 'https://cdn.skypack.dev/jest-nock-vcr';
</script>

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!