Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ expect } from
'chai'
;
2
import
{ Socket as NetSocket } from
'net'
;
3
import
* as sinon from
'sinon'
;
4
import
{ NO_MESSAGE_HANDLER } from
'../../constants'
;
Callers
nothing calls this directly
Calls
7
objectToMap
Function · 0.90
close
Method · 0.65
listen
Method · 0.65
bindHandler
Method · 0.45
handleMessage
Method · 0.45
handleClose
Method · 0.45
handleEvent
Method · 0.45
Tested by
no test coverage detected