-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing with Jest - detected open handle when using TypeOrmHealthIndicator #1466
Comments
Any update on this issue? It is preventing the testing of health controllers which we would like to avoid. |
Sorry for the delay! Thanks a lot for the minimal reproduction @robertozmc, that helped tremendously while debugging this. I think I found the issue. I'll release a beta release ASAP, would appreciate if you could then quickly try it :) |
Just released the beta 8.0.2. Check it with I also checked the minimal reproduction and it works like a charm. |
Released with 8.0.3 🎉 |
@BrunnerLivio sorry for being late to reply, other stuff got in the way. I just checked your changes and the issue is gone. |
Is there an existing issue for this?
Current behavior
When running jest tests a timeout open handle is reported:
Minimum reproduction code
https://github.com/robertozmc/nestjs-terminus-issue
Steps to reproduce
Run script
./test.sh
Expected behavior
Pass all tests without open handle report
Package version
8.0.1
NestJS version
8.0.1
Node.js version
16
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: