Skip to content

Commit

Permalink
fixed test status code
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas committed Feb 27, 2024
1 parent 6adb693 commit 276e100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/urls.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 276e100

Please sign in to comment.