### Description Mocking ESM works under Node 20 but not under Node 21 ### Issue ES Module mocking does not appear to be working under Node 21. ### Environment - [ ] `node -v` output: Working under v20.5.0, failing under 21.0.0, failing under v21.6.1 - [ ] `npm -v` (or `yarn --version`) output: 9.8.0 under v20.x, 10.2.4 under v21.x - [ ] `npm ls testdouble` (or `yarn list testdouble`) version: 3.20.2 ### Failing Test 8 out of 11 tests in the `test:esm` suite are failing under Node 21 but pass under Node 20