Update your React tests for React 19.
Guides updates to test files for React 19 compatibility using before-and-after code patterns.
When to use it
Use when migrating test files to React 19.
It changes how the agent migrates React test files by prescribing an ordered set of fixes and measuring actual call counts.
What you provide
The patterns target React 19 and import act from the react package.
The replacement test APIs use fireEvent and render from @testing-library/react.
No additional actions listed.