stream: add a test case for the underlying cause.
The original test case hides the underlying cause by using `PassThrough`. This change adds a test case for the underlying cause. This makes it clearer and easier to be understood. Refs: https://github.com/nodejs/node/pull/18372 PR-URL: https://github.com/nodejs/node/pull/18575 Reviewed-By:Matteo Collina <matteo.collina@gmail.com>
parent
8204b0f9
Please register or sign in to comment