Jest has detected the following 1 open handle potentially keeping Jest from exiting

Hi, im using Jest to test Temporal workflows/activities as wrote in the following doc:

Im getting the following error:

I guess because the worker is still runing or something like that, even if I’m using teardown() function afterAll tests…

Any idea?

This is a known issue. The root cause is a leaked resource in a third party library which we use to bridge between the TypeScript SDK itself and the SDK Core engine, written in Rust. We are currently working with that library’s team to resolve this issue.

In the mean time, you may safely ignore this warning.

Ok, thanks James.