[Implementation Notes] Setting Up React + TypeScript + Jest + React Testing Library + MSW
· 16 min read
Here are my notes on the testing tools I recently set up in one of my projects at work. I chose Jest + React Testing Library + MSW, and used Husky + lint-staged to automatically run related tests at pre-commit time. There are plenty of other popular testing tools in the React ecosystem worth trying, too, including Vitest, which has recently been gaining ground on Jest, and Cypress for E2E testing.