| 24 | |
| 25 | describe('RouterExplorer', () => { |
| 26 | @Controller('global') |
| 27 | class TestRoute { |
| 28 | @Get('test') |
| 29 | public getTest() {} |
| 30 | |
| 31 | @Post('test') |
| 32 | public postTest() {} |
| 33 | |
| 34 | @All('another-test') |
| 35 | public anotherTest() {} |
| 36 | |
| 37 | @Get(['foo', 'bar']) |
| 38 | public getTestUsingArray() {} |
| 39 | } |
| 40 | |
| 41 | @Controller(['global', 'global-alias']) |
| 42 | class TestRouteAlias { |
nothing calls this directly
no test coverage detected