test: add tests for end event of stream.Duplex
Added tests to check the stream will automatically end the writable side when readable side ends when allowHalfOpen option is false. PR-URL: https://github.com/nodejs/node/pull/21325 Reviewed-By:Anna Henningsen <anna@addaleax.net> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Ujjwal Sharma <usharma1998@gmail.com>
parent
7edd0a17
Please register or sign in to comment