Lightlines
By github

react19-test-patterns

github1.2k installs

Update your React tests for React 19.

What it does

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.

How to use it

It changes how the agent migrates React test files by prescribing an ordered set of fixes and measuring actual call counts.

What you provide

  • An existing project

Latest review

What you need · 2

The patterns target React 19 and import act from the react package.

The replacement test APIs use fireEvent and render from @testing-library/react.


Access · 0

No additional actions listed.