概要
This skill provides specialized guidance and implementation patterns for JavaScript testing using Jest and Vitest. It equips Claude with the expertise to handle sophisticated mocking requirements, such as isolating external dependencies, managing mock lifecycles to prevent state leakage, and simulating time-sensitive logic with fake timers. By enforcing best practices like proper mock restoration and avoiding implementation-detail testing, this skill ensures that test suites remain clean, reliable, and maintainable across both frontend and backend projects.