(user: any, statusCodeExpected = httpStatus.OK)
| 44 | } |
| 45 | |
| 46 | async signin(user: any, statusCodeExpected = httpStatus.OK) { |
| 47 | const { body } = await this.request |
| 48 | .post('/users/signin') |
| 49 | .send(user) |
| 50 | .expect(statusCodeExpected); |
| 51 | |
| 52 | return body; |
| 53 | } |
| 54 | |
| 55 | async signout(statusCodeExpected = httpStatus.NO_CONTENT) { |
| 56 | await this.request |
no outgoing calls
no test coverage detected