You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using reqresnext, if you try to make a request for an endpoint or method that doesn't match a route handler, instead of a 404 you'll get this error:
TypeError: Cannot read property 'length' of undefined
at unpipe (node_modules/unpipe/index.js:47:12)
at send (node_modules/finalhandler/index.js:306:3)
at node_modules/finalhandler/index.js:133:5
at Function.handle (node_modules/express/lib/application.js:170:5)
at app (node_modules/express/lib/express.js:39:9)
at Object.<anonymous> (src/test/js/express.js:20:7)
express falls back to finalhandler in this case, and finalhandler tries to call unpipe()
The text was updated successfully, but these errors were encountered:
ErisDS
added a commit
to ErisDS/reqresnext
that referenced
this issue
Jan 27, 2022
closesantongolub#29
- this adds a new type of test showing what happens when req and res are used in conjunction with express
- added a noop for unpipe, which fixes the broken test
ErisDS
added a commit
to ErisDS/reqresnext
that referenced
this issue
Jan 27, 2022
closesantongolub#29
- this adds a new type of test showing what happens when req and res are used in conjunction with express
- added a noop for unpipe, which fixes the broken test
ErisDS
added a commit
to ErisDS/reqresnext
that referenced
this issue
Jan 27, 2022
closesantongolub#29
- this adds a new type of test showing what happens when req and res are used in conjunction with express
- added a noop for unpipe, which fixes the broken test
closes#29
- this adds a new type of test showing what happens when req and res are used in conjunction with express
- added a noop for unpipe, which fixes the broken test
When using reqresnext, if you try to make a request for an endpoint or method that doesn't match a route handler, instead of a 404 you'll get this error:
express falls back to finalhandler in this case, and finalhandler tries to call unpipe()
The text was updated successfully, but these errors were encountered: