MCPcopy
hub / github.com/nestjs/nest / TestComponent

Class TestComponent

packages/microservices/test/decorators/client.decorator.spec.ts:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9describe('@Client', () => {
10 const pattern = { role: 'test' };
11 class TestComponent {
12 @Client(pattern as any)
13 public static instance;
14 }
15 it(`should enhance property with metadata`, () => {
16 const isClient = Reflect.getOwnMetadata(
17 CLIENT_METADATA,

Callers

nothing calls this directly

Calls 1

ClientFunction · 0.90

Tested by

no test coverage detected