Closed
Description
Version
v18.18.0
Platform
Linux pop-os 6.4.6-76060406-generic #202307241739169531258622.04~4d8f3e9 SMP PREEMPT_DYNAMIC Thu S x86_64 x86_64 x86_64 GNU/Linux
Subsystem
node:test
What steps will reproduce the bug?
git clone https://github.com/andreashuber69/node-18-test-fail.git
cd node-18-test-fail
sudo n 18.18
npm run test
How often does it reproduce? Is there a required condition?
Always with node v18.18.0
What is the expected behavior? Why is that the expected behavior?
Expected behavior is the same as with node v20.8.0
What do you see instead?
▶ return42
✔ should return 42 (0.296281ms)
▶ return42 (1.503716ms)
✖ should return 42 2 (0.09537ms)
'test could not be started because its parent finished'
Additional information
20.4.0 apparently had the same bug: #48845, which is now fixed.