| 57 | ]); |
| 58 | }); |
| 59 | @Controller(['test', 'test2']) |
| 60 | class TestRouteWithMultiplePaths { |
| 61 | @RequestMapping({ path: 'test' }) |
| 62 | public getTest() {} |
| 63 | |
| 64 | @RequestMapping({ path: 'another', method: RequestMethod.DELETE }) |
| 65 | public getAnother() {} |
| 66 | } |
| 67 | |
| 68 | it('should map a controller with multiple paths to "ControllerMetadata" in forRoutes', () => { |
| 69 | const config = { |
nothing calls this directly
no test coverage detected