Replace source-map-support/register with enable-source-maps in mocha config
ProprietaryReplaces source-map-support/register in the require list of .mocharc.js/.mocharc.cjs with 'enable-source-maps': true, which mocha forwards to Node as --enable-source-maps, and --require source-map-support/register in mocha.opts with --enable-source-maps.
org. openrewrite. node. migrate. source-map-support. replace-source-map-support-register-in-mocha-configmod run . --recipe= org. openrewrite. node. migrate. source-map-support. replace-source-map-support-register-in-mocha-configInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.