0.1.0 • Published 4 years ago
@troyblank/jest-base v0.1.0
Jest Base
A good start for jest unit testing. Can be used as an example or for it's helpers and dependencies.
Setup
You will want to install all required node packages:
npm install
Run Example Tests
npm test
Use with React
In order to get this base working with React
you will need to include the testSetup/react.js
file in this repo and add it to your jest.config.js
under setupFilesAfterEnv
.