Closed robross0606 closed 7 months ago
So far, it is flagging open handles for both Collection.exists()
and Database.query()
.
Forgot to mention that I also tried calling Database.close()
but that had no effect on Jest open handle detection.
I think I figured this one out. I had to call Database.close()
between each test. Not just after all of them were done.
When I migrated from 7.x to 8.x, Jest started flagging several things as leaving "open handles" for TCPWRAP. For example: