React
migration
byCodemod

React/19/Replace React Test Renderer Import

/icons/calendar.svg

Last update

Jun 14, 2024

Replaces react-test-renderer/shallow import.

Example

Before

import ShallowRenderer from 'react-test-renderer/shallow';

After

import ShallowRenderer from "react-shallow-renderer";

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now