(
@Parse(() => 'test_body') body: any,
@Parse(() => 'test_user') user: string,
id: string,
@QueryParam() price: string,
@QueryParam(toBoolean) old: boolean)
| 43 | } |
| 44 | @HttpPost('/add/:user/:id') |
| 45 | addParse( |
| 46 | @Parse(() => 'test_body') body: any, |
| 47 | @Parse(() => 'test_user') user: string, |
| 48 | id: string, |
| 49 | @QueryParam() price: string, |
| 50 | @QueryParam(toBoolean) old: boolean): any { |
| 51 | return { |
| 52 | body: body, |
| 53 | user: user, |
| 54 | id: id, |
| 55 | price: price, |
| 56 | old: old |
| 57 | }; |
| 58 | } |
| 59 | } |
| 60 | describe('query.param.e2e.spec', () => { |
| 61 | const baseRoute = '/api/test'; |
nothing calls this directly
no test coverage detected