Skip to content

test: increase Http2ServerResponse test coverage

A few bundled changes, all for Http2ServerResponse, that are too small for separate PRs:

  • Modified existing header tests for Http2ServerResponse to include sendDate (get and set) and headersSent
  • Expanded existing test for end to include a check for closed
  • New test for destroy

Refs: https://github.com/nodejs/node/issues/14985

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Merge request reports

Loading