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

Class TestRouteAlias

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

Source from the content-addressed store, hash-verified

26 }
27
28 @Controller(['global', 'global-alias'])
29 class TestRouteAlias {
30 @Get('test')
31 public getTest() {}
32
33 @Post('test')
34 public postTest() {}
35
36 @All('another-test')
37 public anotherTest() {}
38
39 @Get(['foo', 'bar'])
40 public getTestUsingArray() {}
41 }
42
43 let pathsExplorer: PathsExplorer;
44

Callers

nothing calls this directly

Calls 2

ControllerFunction · 0.90
PostClass · 0.50

Tested by

no test coverage detected