File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
packages/server/src/__tests__/plugin/drainHttpServer Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ---
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ workflows:
144
144
- " 16"
145
145
- " 18"
146
146
- " 20"
147
+ - " 22"
147
148
- " Check for FIXM\x45 "
148
149
- Prettier
149
150
- ESLint
Original file line number Diff line number Diff line change @@ -141,12 +141,8 @@ Object.keys(schemes).forEach((schemeName) => {
141
141
// idle connections in these versions. However, `Stopper` _is_ still
142
142
// useful for gracefully finishing in-flight requests within the timeout
143
143
// (and aborting requests beyond the timeout).
144
- //
145
- // (Node 18.19.0 had this change backported but it was removed again in
146
- // 18.20.3; our tests only pin major versions so we can assume 18 means
147
- // >= 18.20.3.)
148
- const isNode20 = ! ! process . version . match ( / ^ v 2 0 \. / ) ;
149
- expect ( closed ) . toBe ( isNode20 ? 1 : 0 ) ;
144
+ const isNode20orGreater = ! ! process . version . match ( / ^ v 2 \d \. / ) ;
145
+ expect ( closed ) . toBe ( isNode20orGreater ? 1 : 0 ) ;
150
146
} ) ;
151
147
152
148
// This test specifically added for Node 20 fails for Node 14. Just going
You can’t perform that action at this time.
0 commit comments