* Checks that response data equals to expected: * * ```js * // response.data is { error: 'Not allowed' } * * I.seeResponseEquals({ error: 'Not allowed' }) * ``` * @param {object} resp
(resp)
| 289 | * @param {object} resp |
| 290 | */ |
| 291 | seeResponseEquals(resp) { |
| 292 | this._checkResponseReady() |
| 293 | assert.deepStrictEqual(this.response.data, resp) |
| 294 | } |
| 295 | |
| 296 | /** |
| 297 | * Validates JSON structure of response using [Zod library](https://zod.dev). |
no test coverage detected