(statusCodeExpected = httpStatus.OK)
| 59 | } |
| 60 | |
| 61 | async listUsers(statusCodeExpected = httpStatus.OK) { |
| 62 | const { body } = await this.request |
| 63 | .get('/users') |
| 64 | .expect(statusCodeExpected); |
| 65 | |
| 66 | return body; |
| 67 | } |
| 68 | |
| 69 | async getUser(userId: string, statusCodeExpected = httpStatus.OK) { |
| 70 | const { body } = await this.request |
no outgoing calls
no test coverage detected