소개
This skill provides a standardized framework for writing resilient React tests using Jest and React Testing Library. It shifts the focus from testing implementation details to verifying user-facing behavior, ensuring that tests remain stable even during internal code refactors. By providing clear guidance on Mock Service Worker (MSW) for API interactions, table-driven test patterns, and specialized strategies for custom hooks and context, it enables developers to build high-quality, accessible applications with confident test coverage. It is particularly valuable during the implementation phase to guide test structure and strategy for both simple components and complex feature containers.