Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ srv_polling.test.ts
File
srv_polling.test.ts
test/unit/sdam/srv_polling.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect } from
'chai'
;
2
import
* as dns from
'dns'
;
3
import
{ EventEmitter, once } from
'events'
;
4
import
* as sinon from
'sinon'
;
Callers
nothing calls this directly
Calls
11
topologyWithPlaceholderClient
Function · 0.90
it
Function · 0.85
once
Function · 0.85
stubDns
Function · 0.85
stubPoller
Function · 0.85
emit
Function · 0.85
success
Method · 0.80
failure
Method · 0.80
_poll
Method · 0.80
srvRecord
Function · 0.70
equals
Method · 0.45
Tested by
no test coverage detected