fix: status code info
This commit is contained in:
parent
dacf479838
commit
a55eb11f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class Expectation {
|
|||
let code = parseInt(this.expectValue);
|
||||
if (Number.isNaN(code)) {
|
||||
return this._fail(
|
||||
`Expected 200-level status but could not parse value ${this.expectValue}`
|
||||
`Expected 500-level status but could not parse value ${this.expectValue}`
|
||||
);
|
||||
}
|
||||
return this._satisfies(code >= 500 && code < 600)
|
||||
|
|
|
|||
Loading…
Reference in a new issue