Closed gryphonmyers closed 4 years ago
I see the request mock was briefly turned into a ReadableStream: https://github.com/howardabrams/node-mocks-http/pull/169
But then got reverted due to https://github.com/howardabrams/node-mocks-http/issues/174
Some libraries depend on req._readableState being defined, so I would view this as an active issue as the mock does not adequately resemble the built-in request object.
Stale issue message
I see the request mock was briefly turned into a ReadableStream: https://github.com/howardabrams/node-mocks-http/pull/169
But then got reverted due to https://github.com/howardabrams/node-mocks-http/issues/174
Some libraries depend on req._readableState being defined, so I would view this as an active issue as the mock does not adequately resemble the built-in request object.