We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 997919b commit dac7a04Copy full SHA for dac7a04
test/support/utils.js
@@ -77,10 +77,10 @@ function getMajorVersion(versionString) {
77
}
78
79
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
+ // Skipping HTTP QUERY tests below Node 22, QUERY wasn't fully supported by Node until 22
+ // we could update this implementation to run on supported versions of 21 once they exist
82
// upstream tracking https://github.com/nodejs/node/issues/51562
83
// express tracking issue: https://github.com/expressjs/express/issues/5615
84
- return Number(getMajorVersion(versionString)) === 21
+ return Number(getMajorVersion(versionString)) < 22
85
86
0 commit comments