component-tests-workshop icon indicating copy to clipboard operation
component-tests-workshop copied to clipboard

A worker process has failed to exit gracefully

Open bitamar opened this issue 1 year ago • 0 comments

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.

bitamar avatar Jun 07 '23 08:06 bitamar