What problem does it solve? React tests often break on refactors because they assert implementation details, mock too much, or flake on async behavior. This Skill provides opinionated patterns for writing stable, user-centric component and hook tests that survive code changes. ## Core Features & Use Cases - Behavior-First Testing Patterns: Query priority guidance (getByRole over getByTestId), userEvent interactions, and async matchers like findBy and waitFor to eliminate flaky setTimeout assertions. - Network Mocking with MSW: Network-level request interception with per-test handler overrides, so components and fetch logic behave exactly as in production. - Accessibility & Coverage Standards: axe-based violation assertions in component tests plus concrete coverage thresholds per layer (utilities, hooks, components, pages). - Use Case: You inherit a legacy React codebase with Enzyme-era tests. Use this Skill to migrate to React Testing Library, wrap tests in a shared renderWithProviders helper, mock API calls with MSW, and decide which flows belong in Playwright E2E instead. ## Quick Start Write a React Testing Library test for my UserForm component that fills the email field, submits, mocks the POST request with MSW, and asserts the success message appears.