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
Middleware that modifies req (normal express middleware) runs, and modifies req, but the modified req never gets to the handler, only the empty middleware output.
Middleware that returns data, works fine.
Referencing the only test for the normal express middleware here since it's a no-op and never changed the request data:
Middleware that modifies
req
(normal express middleware) runs, and modifiesreq
, but the modifiedreq
never gets to the handler, only the empty middleware output.Middleware that returns data, works fine.
Referencing the only test for the normal express middleware here since it's a no-op and never changed the request data:
api-ts/packages/express-wrapper/test/middleware.test.ts
Line 10 in 039e72e
The test should be enhanced to cover a realistic use case, which would have highlighted this issue.
The text was updated successfully, but these errors were encountered: