How to dispose a ReadStream passed to body
option correctly - Jest JSSTREAM open handle warning
#2061
Rychu-Pawel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting Jest warning when executing one of my tests that it detected an open handle:
I'm wondering if I'm disposing the stream correctly and this is just a false alarm or should I do something more? The test and my app exit correctly. This is a simplified example what my code looks like:
Beta Was this translation helpful? Give feedback.
All reactions