Skip to content

Commit dac7a04

Browse files
authored
chore: wider range for query test skip (#6513)
1 parent 997919b commit dac7a04

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
@@ -77,10 +77,10 @@ function getMajorVersion(versionString) {
7777
}
7878

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

0 commit comments

Comments
 (0)