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

Class TestRoute

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

Source from the content-addressed store, hash-verified

11
12describe('PathsExplorer', () => {
13 @Controller('global')
14 class TestRoute {
15 @Get('test')
16 public getTest() {}
17
18 @Post('test')
19 public postTest() {}
20
21 @All('another-test')
22 public anotherTest() {}
23
24 @Get(['foo', 'bar'])
25 public getTestUsingArray() {}
26 }
27
28 @Controller(['global', 'global-alias'])
29 class TestRouteAlias {

Callers

nothing calls this directly

Calls 2

ControllerFunction · 0.90
PostClass · 0.50

Tested by

no test coverage detected