MCPcopy
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

1import { strict as assert } from 'node:assert';
2import { spy } from 'sinon';
3import { once } from 'node:events';
4import net from 'node:net';

Callers

nothing calls this directly

Calls 7

createSocketFunction · 0.85
withConnectedSocketFunction · 0.85
withCapturedConnectFunction · 0.85
testWithClientMethod · 0.80
destroyMethod · 0.65
connectMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected