diff --git a/.changeset/forty-cherries-wonder.md b/.changeset/forty-cherries-wonder.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/forty-cherries-wonder.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/server/src/__tests__/plugin/drainHttpServer/stoppable.test.ts b/packages/server/src/__tests__/plugin/drainHttpServer/stoppable.test.ts index c95b50d76e3..e3face7cd05 100644 --- a/packages/server/src/__tests__/plugin/drainHttpServer/stoppable.test.ts +++ b/packages/server/src/__tests__/plugin/drainHttpServer/stoppable.test.ts @@ -144,8 +144,7 @@ Object.keys(schemes).forEach((schemeName) => { // // (Node 18.19.0 had this change backported but it was removed again in // 18.20.3; our tests only pin major versions so we can assume 18 means - // >= 18.20.3.) Update: Node 18.19+ had this change backported, so the - // comment from above applies to Node 18.19+ as well. + // >= 18.20.3.) const isNode20 = !!process.version.match(/^v20\./); expect(closed).toBe(isNode20 ? 1 : 0); });