Migrate Jest to Vitest

Proprietary

Migrates Jest projects to Vitest: rewrites the tests, writes a vitest.config carrying the Jest configuration, points the package.json scripts at Vitest, and replaces the Jest dependencies with Vitest's.

io.moderne.javascript.testing.JestToVitest
mod run . --recipe=io.moderne.javascript.testing.JestToVitest

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