Skip to content

Commit 7a2a567

Browse files
committed
docs: Add info to tests
1 parent e23937d commit 7a2a567

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/lib/server/h2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ let server;
1010

1111
const nodeVersion = parseInt(process.versions.node.split(".")[0], 10);
1212

13+
// Withe Node.js 24 and later, the HTTP parser is missing, which breaks the HTTP/2 support in the spdy package.
14+
// Tests need to be NodeJs version agnostic.
1315
if (nodeVersion < 24) {
1416
// Start server before running tests
1517
test.before(async (t) => {

0 commit comments

Comments
 (0)