Migrate Create React App tests to Vitest
ProprietaryInstalls Vitest 4, jsdom 26 and Vite 7 and migrates supported Create React App tests with a separate Vitest config. Packages with conflicting test configuration or unsupported Jest mocking are left unchanged. Requires Node 20.19 or later.
org. openrewrite. react. cra-to-vite. migrate-tests-to-vitestmod run . --recipe= org. openrewrite. react. cra-to-vite. migrate-tests-to-vitestInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.