Upgrade to Mocha 11
ProprietaryUpgrades a Mocha 9 or 10 project to Mocha 11, first applying the Mocha 10 upgrade, then raises engines.node to 18 in each package.json declaring Mocha, since Mocha 11 needs Node.js 18.18 or later, and upgrades mocha to 11.x. @types/mocha stays on 10.x, its latest major.
io. moderne. javascript. testing. mocha. UpgradeToMocha11mod run . --recipe= io. moderne. javascript. testing. mocha. UpgradeToMocha11Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.