Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
React
migration
byalexbit-codemod
React/19/Replace React Test Renderer Import
Last update
Jul 24, 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