test: refactor test-http(s)-set-timeout-server · nodejs/node@534ae44 · GitHub
Skip to content

Commit 534ae44

Browse files
aqrlnaddaleax
authored andcommitted
test: refactor test-http(s)-set-timeout-server
* Make changes to `test-https-set-timeout-server` to resolve inconsistencies with its http counterpart: - Apply the changes analogous to those in GH-13802 to the https test. - Add a missing `common.mustCall()` wrapper. - Make small stylistic changes (e.g., remove unnecessary line breaks in comments) to make it visually consistent with the http test. * Use arrow functions. PR-URL: #13935 Fixes: #13588 Refs: #13802 Refs: #13625 Refs: #13822 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c652845 commit 534ae44

2 files changed

Lines changed: 53 additions & 60 deletions

File tree

test/parallel/test-http-set-timeout-server.js

Lines changed: 22 additions & 22 deletions

test/sequential/test-https-set-timeout-server.js

Lines changed: 31 additions & 38 deletions

0 commit comments

Comments
 (0)