Behavior-focused React tests, without Enzyme.
Guides the migration of Enzyme tests to behavior-focused React Testing Library tests for React 18.
When to use it
Use when rewriting Enzyme tests, including tests using shallow, mount, wrapper APIs, or Enzyme adapters.
It changes how the agent rewrites Enzyme tests, replacing checks of internal state and methods with assertions on visible outcomes.
What you provide
The core rewrite template imports rendering, queries, events, and asynchronous assertions from this package.
The core rewrite template imports this package to simulate user interactions.
The setup guidance assumes the project's Jest configuration loads this package's matchers.
No additional actions listed.