소개
The Vitest v4 skill equips developers with expert knowledge for testing modern TypeScript applications, specifically focusing on React and Next.js environments. It streamlines the testing lifecycle by offering standardized patterns for test organization, advanced mocking strategies for modules and timers, and efficient debugging workflows for asynchronous failures. Whether you are setting up a jsdom environment, implementing factory mock patterns, or analyzing test coverage, this skill ensures your test suite is robust, maintainable, and free from common issues like state bleeding.