test: add a test for Expect & checkExpectation
New test case for Expect header & checkExpectation event, based on the existing http test case with structural tweaks to make it a bit easier to follow. Part of increasing http2 code coverage as per https://github.com/nodejs/node/issues/14985
Let me know if I should change anything!
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test