Upgrade to Jest 30
MSALUpgrades a Jest 27, 28 or 29 project to Jest 30, first applying the Jest 29 upgrade, then migrating the tests off the APIs Jest 30 removed, renames the --testPathPattern option in package.json scripts, updates the guide link in snapshot headers, and upgrades Jest's packages along with @types/jest, ts-jest and jest-watch-typeahead. Marks what it cannot migrate: dependencies with no Jest 30 support, and tests redefining the globals jsdom 26 made non-configurable or importing Jest's internal modules.
org. openrewrite. javascript. testing. jest. UpgradeToJest30mod run . --recipe= org. openrewrite. javascript. testing. jest. UpgradeToJest30Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.