Skip to content

test: refactor http pipelined socket test

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test http

Description of change

In test-http-incoming-pipelined-socket-destory:

  • setTimeout() with no duration -> setImmediate()
  • eliminate unneeded exit listener
  • use common.mustCall()
  • var -> const/let

Merge request reports

Loading