What problem does it solve? Writing reliable React component tests is hard: flaky async assertions, unrealistic event simulation, and brittle fetch mocking lead to test suites that break on refactors and miss real user-facing bugs. This Skill provides a complete testing methodology for React 19 components using Testing Library and Vitest, enforcing accessible queries, realistic interactions, and network-level API mocking. ## Core Features & Use Cases - User-Centric Testing Patterns: Prioritizes accessible queries (getByRole first, getByTestId last), uses userEvent instead of fireEvent, and findBy/waitFor instead of setTimeout for async assertions. - React 19 Feature Coverage: Test templates for useActionState forms, use() with Suspense boundaries, error boundaries, custom hooks via renderHook, and accessibility audits with axe-core. - MSW API Mocking: Network-level request interception with per-test handler overrides for loading, error, and success states. - Use Case: You need to test a login form built with React 19's useActionState. The Skill guides you to assert the pending disabled state, validation errors, and success message using userEvent and findByText, with MSW handling the server action responses. ## Quick Start Ask the AI to write a Vitest test for your React component using Testing Library with userEvent interactions and MSW API mocking.