| 35 | |
| 36 | it('should enhance class with expected request metadata', () => { |
| 37 | class Test { |
| 38 | @Get(requestPath) |
| 39 | public static test(@Param('id', ParseIntPipe) params) {} |
| 40 | |
| 41 | @Get(requestPathUsingArray) |
| 42 | public static testUsingArray(@Param('id') params) {} |
| 43 | } |
| 44 | |
| 45 | const path = Reflect.getMetadata('path', Test.test); |
| 46 | const args = Reflect.getMetadata( |