MCPcopy
hub / github.com/nestjs/nest / server-tcp.spec.ts

File server-tcp.spec.ts

packages/microservices/test/server/server-tcp.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect } from 'chai';
2import { Socket as NetSocket } from 'net';
3import * as sinon from 'sinon';
4import { NO_MESSAGE_HANDLER } from '../../constants';

Callers

nothing calls this directly

Calls 7

objectToMapFunction · 0.90
closeMethod · 0.65
listenMethod · 0.65
bindHandlerMethod · 0.45
handleMessageMethod · 0.45
handleCloseMethod · 0.45
handleEventMethod · 0.45

Tested by

no test coverage detected