Add test for HTTP client "aborted" event
Checklist
-
make -j4 test
(UNIX) orvcbuild test nosign
(Windows) passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
None. A test for current http
.
Description of change
Following on from #7270 to add a test for aborted
events on http.IncomingMessage
emitters from http.request
. New test was derived from old test/parallel/test-http-abort-client.js.
cc @addaleax