(userId: string, statusCodeExpected = httpStatus.NO_CONTENT)
| 84 | } |
| 85 | |
| 86 | async deleteUser(userId: string, statusCodeExpected = httpStatus.NO_CONTENT) { |
| 87 | await this.request |
| 88 | .delete(`/users/${userId}`) |
| 89 | .expect(statusCodeExpected); |
| 90 | } |
| 91 | |
| 92 | async createPost(userId: string, payload: any, statusCodeExpected = httpStatus.CREATED) { |
| 93 | const { body } = await this.request |
no outgoing calls
no test coverage detected