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

Class TestRouteAlias

packages/core/test/router/router-explorer.spec.ts:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 @Controller(['global', 'global-alias'])
42 class TestRouteAlias {
43 @Get('test')
44 public getTest() {}
45
46 @Post('test')
47 public postTest() {}
48
49 @All('another-test')
50 public anotherTest() {}
51
52 @Get(['foo', 'bar'])
53 public getTestUsingArray() {}
54 }
55
56 class ClassWithMissingControllerDecorator {}
57

Callers

nothing calls this directly

Calls 2

ControllerFunction · 0.90
PostClass · 0.50

Tested by

no test coverage detected