Skip to content

test: refactor test-http-client-timeout-option-with-agent

  • Switch from Date.now() to process.hrtime.bigint().
  • Move start time recording to before the request is created, not after.

Fixes: https://github.com/nodejs/node/issues/25746

@devsnek @nodejs/http @nodejs/testing

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading