What problem does it solve? React tests often break on refactors because they assert on implementation details like state, props, and render counts instead of user-visible behavior. This Skill provides patterns for writing stable component, hook, and accessibility tests, plus guidance on when JSDOM-based tests are insufficient and a real browser is required. ## Core Features & Use Cases - Behavior-Focused Component Tests: Query by role and label, interact via userEvent, and assert on visible output rather than internals. - Network Mocking with MSW: Intercept HTTP at the network layer so components and hooks behave exactly as in production, with per-test handler overrides for error states. - Hook, Accessibility, and Async Testing: Test custom hooks with renderHook, run axe violation checks, and handle async UI with findBy and waitFor instead of flaky timeouts. - Use Case: When adding tests to a legacy form component, wrap it in the same providers as production, mock its API calls with MSW, simulate typing and submission with userEvent, and assert the success message appears. ## Quick Start Write a React Testing Library test for my UserForm component that mocks the save API with MSW and asserts the success message appears after submission.