Migrate Create React App test sources to Vitest

Proprietary

Replaces supported react-scripts test scripts with Vitest, configures jsdom and setup files, and converts safe global jest calls to imported vi calls. Conflicting configuration and unsupported mocking leave the package unchanged.

org.openrewrite.react.cra-to-vite.migrate-tests-to-vitest-sources
mod run . --recipe=org.openrewrite.react.cra-to-vite.migrate-tests-to-vitest-sources

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.