Why I migrated from Jest to Vitest
A developer explains their migration from Jest to Vitest, citing ESM support, TypeScript compatibility, and performance improvements.
A developer explains their migration from Jest to Vitest, citing ESM support, TypeScript compatibility, and performance improvements.
A guide on testing API calls in React components using React Testing Library and Jest, covering both success and failure scenarios.
A tutorial on using React Testing Library to test React components from a user's perspective, covering setup with Jest.
A guide to setting up integration tests for a TypeScript Node/Express API using Jest, Supertest, Knex, and Objection.js.
Discusses the pitfalls of mocking API clients in tests and suggests mocking `window.fetch` directly for better confidence.
A guide to improving test error messages when creating abstractions in JavaScript testing frameworks like Jest.
A tutorial on testing GraphQL resolvers with Jest, covering authentication, error handling, and happy/sad path scenarios.
A data scientist's journey from Python/Jupyter to embracing TypeScript, tests, and tools for building maintainable software.
A tutorial on setting up and running tests for a Node.js application using the Jest testing framework.
A tutorial on how to mock Firebase database and authentication features using Jest for unit testing in JavaScript/Node.js.
A guide on configuring Jest to work with Babel Module Resolver aliases for cleaner imports in tests.
Explains why you should make your tests fail to ensure they are actually testing the intended functionality and not giving false confidence.
A guide to fixing the 'not wrapped in act(...)' warning in React component tests, covering class and function components.
A tutorial on testing Axios API calls in Jest, including mocking requests and handling success/error cases with code examples.
A tutorial on testing React components connected to a Redux store using Jest and Redux Mock Store.
A tutorial on using Jest snapshot testing to capture and compare the output of a React component before and after a state change.
A guide to using shallow rendering in Jest snapshot tests to avoid large outputs and duplicated test setups for React parent 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.