From 276e100b57a388d8ec6129f0f1b064e9d3e29d90 Mon Sep 17 00:00:00 2001 From: rafapaezbas Date: Tue, 27 Feb 2024 17:25:21 +0100 Subject: [PATCH] fixed test status code --- tests/urls.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/urls.test.cjs b/tests/urls.test.cjs index db9c958..db90d57 100644 --- a/tests/urls.test.cjs +++ b/tests/urls.test.cjs @@ -49,7 +49,7 @@ function checkUrl (url) { return new Promise((resolve, reject) => { try { https.get(url, (res) => { - if (res.statusCode >= 200 && res.statusCode <= 300) { + if (res.statusCode >= 200 && res.statusCode < 300) { resolve(true) } else { resolve(false)