Closed gribnoysup closed 3 years ago
@alenakhineika good point, not sure we can write one without mocking a whole bunch of stuff, but will add something! Thanks for nudging me to write more tests, I am getting a bit lazy with it sometimes 😊
@alenakhineika added a test case in 5bb7cbc
Follow-up to https://github.com/mongodb-js/connection-model/pull/352 that makes sure that when
connection-model
returns a tunnel during connect, we close it before resolving adisconnect
callback