Jest Reference Error: Cannot Access ‘’ Before Initialization
This problem is only fixable by changing the location of import and jest.Mock. It creates the problem, because when we import depA and bring it to our module’s runtime, it already read all the…
Mock Your Hooks to Make Testing Simpler
Mocking with Jest can have a weird learning curve. Let's see how to mock those hooks.
Storybook Snapshot Testing
Automatic Jest Snapshot Testing with Storybook Stories
Testing React Router with Jest
How to write unit tests that check if you're routing requests correctly using React Router with Jest
Creating Axios mock requests in Jest
How to create your own reusable axios mock request function for Jest.