Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: status code info
jamesgeorge007a55eb11f5b97
diff --git a/functions/postwomanTesting.js b/functions/postwomanTesting.jsindex a7ebf941b..2b2b2ed1b 100644--- a/functions/postwomanTesting.js+++ b/functions/postwomanTesting.js@@ -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)