test: refactor test-http-set-timeout-server
- Use
common.mustCall()
to track callback invocations - Remove console.log() statements unrelated to the test
- Add blank line to conform with project test-writing guide
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test http