diff --git a/test/index.test.js b/test/index.test.js index 5cb13fc..3739971 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -1885,7 +1885,7 @@ test('Can abort a request using AbortController/AbortSignal', (t) => { }, { skip: globalThis.AbortController == null }) test('should pass req to ServerResponse', (t) => { - if (parseInt(process.versions.node.split('.')[0], 10) < 16) { + if (parseInt(process.versions.node.split('.', 1)[0], 10) < 16) { t.pass('Skip because Node version < 16') t.end() return