eugef / node-mocks-http

Mock 'http' objects for testing Express routing functions
Other
753 stars 133 forks source link

req._readableState is undefined #185

Closed gryphonmyers closed 4 years ago

gryphonmyers commented 5 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.

github-actions[bot] commented 4 years ago

Stale issue message