How to test React Components
A tutorial series on setting up testing libraries and writing unit, integration, and E2E tests for React components.
A tutorial series on setting up testing libraries and writing unit, integration, and E2E tests for React components.
A tutorial on setting up and using Enzyme with Jest for unit and integration testing of React components.
A tutorial on setting up and using Jest to test React components, including assertions and snapshot testing.
A developer shares their experience speaking at DinosaurJS and React Loop conferences, discussing technical talks on Babel 7 and migrating to React.
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
An explanation of JavaScript mocking using a thumb war game example to test a non-deterministic function.
A developer troubleshoots a tricky JavaScript testing error after updating dependencies like React and Jest, despite mocked console methods.
A developer critiques snapshot testing, arguing it creates unclear tests that erode team trust and are often blindly regenerated when they fail.
A developer's journey from advocating for the AVA testing framework to migrating to Jest due to performance issues and limitations.