Closed as not planned
Closed as not planned
Description
Version
^29.7.0
Steps to reproduce
Expected behavior
No leak. Or at least consistent behaviour between CJS and ESM.
Actual behavior
Leaks in ESM, doesn't leak in CJS.
Additional context
Exact same test leaks with:
node --experimental-vm-modules node_modules/jest/bin/jest.js --detectLeaks
but doesn't leak with:
node node_modules/jest/bin/jest.js --detectLeaks
Environment
ubuntu-latest from GitHub Actions