Skip to content

test: stream.finished detects a destroyed IncomingMessage

Add a test to verify that stream.finished works correctly on IncomingMessage, as it looks like it didn't work on Node 15, but now works on Node 16.

The test that I added does not pass on Node 15, but passes on Node 16.

refs: https://github.com/nodejs/node/issues/38657

Merge request reports

Loading