Upgrade to Mocha 10
ProprietaryUpgrade mocha and @types/mocha to 10.x in package.json. Mocha 10 drops Node.js 12 support. Not done by this recipe: raising engines.node, and the other breaking changes in the Mocha 10 release notes.
org. openrewrite. nodejs. migrate. mocha. UpgradeToMocha10mod run . --recipe= org. openrewrite. nodejs. migrate. mocha. UpgradeToMocha10Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.