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

Method seeResponseCodeIsServerError

lib/helper/JSONResponse.js:133–136  ·  view source on GitHub ↗

* Checks that the response code is 5xx

()

Source from the content-addressed store, hash-verified

131 * Checks that the response code is 5xx
132 */
133 seeResponseCodeIsServerError() {
134 this._checkResponseReady()
135 assert(this.response.status >= 500 && this.response.status < 600)
136 }
137
138 /**
139 * Checks that the response code is 2xx

Callers 1

Calls 1

_checkResponseReadyMethod · 0.95

Tested by

no test coverage detected