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

File server-nats.spec.ts

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

Source from the content-addressed store, hash-verified

1import { expect } from 'chai';
2import { JSONCodec } from 'nats';
3import * as sinon from 'sinon';
4import { NO_MESSAGE_HANDLER } from '../../constants';

Callers

nothing calls this directly

Calls 11

objectToMapFunction · 0.90
assignMethod · 0.80
listenMethod · 0.65
closeMethod · 0.65
encodeMethod · 0.65
bindEventsMethod · 0.45
getMessageHandlerMethod · 0.45
handleMessageMethod · 0.45
getPublisherMethod · 0.45
handleEventMethod · 0.45
handleStatusUpdatesMethod · 0.45

Tested by

no test coverage detected