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.