React component tests that work like your users.
Guides writing React component tests that check user-visible behavior with accessible queries and simulated interactions.
When to use it
Use when writing React component tests, selecting elements, simulating user events, or testing asynchronous UI behavior.
It changes how the agent writes React component tests by favoring accessible queries and realistic user interactions.
What you provide
The guide uses @testing-library/react; React 19 requires version 16.1.0 or later.
This skill
npm install --save-dev @testing-library/react @testing-library/dom
Installs React testing packages