test: ensure finish is emitted before destroy
Adds a test to ensure that 'finish' is emitted before the socket is destroyed by allow half-open enforcer. Refs: https://github.com/nodejs/node/commit/3c07b1793cfe12a7cebc3a0e3e3c3fd2b60a3560#commitcomment-38810268 PR-URL: https://github.com/nodejs/node/pull/33137 Reviewed-By:James M Snell <jasnell@gmail.com> Reviewed-By:
Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
parent
225a03c5
Please register or sign in to comment