MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / seeResponseCodeIsClientError

Method seeResponseCodeIsClientError

lib/helper/JSONResponse.js:117–120  ·  view source on GitHub ↗

* Checks that the response code is 4xx

()

Source from the content-addressed store, hash-verified

115 * Checks that the response code is 4xx
116 */
117 seeResponseCodeIsClientError() {
118 this._checkResponseReady()
119 assert(this.response.status >= 400 && this.response.status < 500)
120 }
121
122 /**
123 * Checks that the response code is 3xx

Callers 1

Calls 1

_checkResponseReadyMethod · 0.95

Tested by

no test coverage detected