Skip to content

Commit 9f4dbe3

Browse files
authored
chore: wider range for query test skip (#6512)
1 parent 9784321 commit 9f4dbe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/support/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ function getMajorVersion(versionString) {
7676
}
7777

7878
function shouldSkipQuery(versionString) {
79-
// Skipping HTTP QUERY tests on Node 21, it is reported in http.METHODS on 21.7.2 but not supported
80-
// update this implementation to run on supported versions of 21 once they exist
79+
// Skipping HTTP QUERY tests below Node 22, QUERY wasn't fully supported by Node until 22
80+
// we could update this implementation to run on supported versions of 21 once they exist
8181
// upstream tracking https://github.com/nodejs/node/issues/51562
8282
// express tracking issue: https://github.com/expressjs/express/issues/5615
83-
return Number(getMajorVersion(versionString)) === 21
83+
return Number(getMajorVersion(versionString)) < 22
8484
}
8585

0 commit comments

Comments
 (0)