eugef / node-mocks-http

Mock 'http' objects for testing Express routing functions
Other
747 stars 131 forks source link

TypeError: Cannot read property 'pipesCount' of undefined and TypeError: req.resume is not a function #232

Closed 6XGate closed 3 years ago

6XGate commented 3 years ago

While trying to use this with Express, I've encountered two issues.

The first occurs when the app has a registered route and the second when it does not.

Here is example code showing the error: https://repl.it/@sixxgate/bug-http-mocks#index.js

github-actions[bot] commented 3 years ago

Stale issue message