Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ connection.test.ts
File
connection.test.ts
test/unit/cmap/connection.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Socket } from
'node:net'
;
2
import
{ Writable } from
'node:stream'
;
3
4
import
{ expect } from
'chai'
;
Callers
nothing calls this directly
Calls
15
isHello
Function · 0.90
it
Function · 0.85
connect
Function · 0.85
ns
Function · 0.85
promiseWithResolvers
Function · 0.85
setMessageHandler
Method · 0.80
read
Method · 0.80
on
Method · 0.80
match
Method · 0.80
emit
Method · 0.65
write
Method · 0.65
callback
Function · 0.50
Tested by
no test coverage detected