Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/node-redis
/ socket.spec.ts
File
socket.spec.ts
packages/client/lib/client/socket.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ strict as assert } from
'node:assert'
;
2
import
{ spy } from
'sinon'
;
3
import
{ once } from
'node:events'
;
4
import
net from
'node:net'
;
Callers
nothing calls this directly
Calls
7
createSocket
Function · 0.85
withConnectedSocket
Function · 0.85
withCapturedConnect
Function · 0.85
testWithClient
Method · 0.80
destroy
Method · 0.65
connect
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected