Jest unit tests failing after upgrading to 24.6.X
Version
24.6.0
Platform
Ubuntu 22.04 LTS (Github runner)
Subsystem
No response
What steps will reproduce the bug?
I'm using NODE_OPTIONS=--experimental-vm-modules with jest.
My unit tests started to fail:
Test suite failed to run, module is already linked
ReferenceError: You are trying to import a file after the Jest environment has been torn down. From ...
With node v24.5 it works fine.
How often does it reproduce? Is there a required condition?
Always failing.
What is the expected behavior? Why is that the expected behavior?
Unit tests are completed.
What do you see instead?
Unit tests are failing.
Additional information
No response