| 13 | |
| 14 | describe('RoutesMapper', () => { |
| 15 | @Controller('test') |
| 16 | class TestRoute { |
| 17 | @RequestMapping({ path: 'test' }) |
| 18 | public getTest() {} |
| 19 | |
| 20 | @RequestMapping({ path: 'another', method: RequestMethod.DELETE }) |
| 21 | public getAnother() {} |
| 22 | |
| 23 | @Version('1') |
| 24 | @Get('versioned') |
| 25 | public getVersioned() {} |
| 26 | } |
| 27 | |
| 28 | let mapper: RoutesMapper; |
| 29 | beforeEach(() => { |
nothing calls this directly
no test coverage detected