@catchandrelease/jest-react-router
v1.0.2
Published
Jest matchers for use with React Router.
Downloads
22
Keywords
Readme
jest-react-router
A library of matchers to help test against react-router
Getting Started
Installation
Install the jest-react-router package and its dependencies.
yarn add --dev @catchandrelease/jest-react-router
or
npm install --save-dev @catchandrelease/jest-react-router
Setup
Add jest-react-router to your Jest setupFilesAfterEnv configuration. See configuring jest for help
"jest": {
"setupFilesAfterEnv": ["@catchandrelease/jest-react-router"]
}