React 18 Enzyme → RTL Migration Enzyme has no React 18 adapter and no React 18 support path. All Enzyme tests must be rewritten using React Testing Library. The Philosophy Shift (Read This First) Enzyme tests implementation. RTL tests behavior. This is not a 1:1 translation. Enzyme tests that verify internal state or instance methods don't have RTL equivalents - because RTL intentionally doesn't expose internals. Rewrite the test to assert the visible outcome instead. API Map For complete before/after code for each Enzyme API, read: - - full mapping: shallow, mount, find, simulate, prop, stat…