component-tests-workshop
component-tests-workshop copied to clipboard
A worker process has failed to exit gracefully
Hi Yoni, when running npm run test
with node 18.1.0, tests are passing, but I'm getting this error message:
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.