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 to migrating a React application's testing suite from Jest to Vitest, covering setup, configuration, and benefits.
A technical guide on migrating JavaScript test suites from Jest to the native Node.js test runner, covering setup, features, and differences.
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.
Discusses code coverage debates in frontend testing, focusing on React, Jest, and Cypress for unit and integration tests.
A beginner's guide to writing unit tests for React components using Jest and React Testing Library, covering core concepts and practical examples.
A guide to setting up integration tests for a TypeScript Node/Express API using Jest, Supertest, Knex, and Objection.js.
A step-by-step guide to configuring Jest for unit testing in a React application built with TypeScript, covering dependencies and configuration.
A guide to setting up Jest testing in a Svelte TypeScript starter project, including configuration steps and a pre-configured template.
A tutorial on using Jest to test class methods, including spying on instances and prototypes to verify method calls.
A technical changelog detailing the frontend upgrades at DEV, including migration to Preact X and adoption of Testing Library with a11y testing.
A guide to simplifying Vue.js application testing using the Vue Testing Library, focusing on user-centric tests and practical examples.
A guide on mocking Axios HTTP calls in Jest tests without external packages, including code structure and coverage tips.
Discusses the pitfalls of mocking API clients in tests and suggests mocking `window.fetch` directly for better confidence.
Explains the risks of committing focused tests and provides multiple technical solutions to prevent it, including VS Code extensions, linter rules, and pre-commit hooks.
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.