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
{{ message }}
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
It appears the middleware that sets res.locals.routes isn't called until after exprestive calls the controller action. Thats why the feature tests passes but this fails in production.
The text was updated successfully, but these errors were encountered:
Thanks for catching this, I've fixed it for now but I can't think of an elegant way of testing this in the feature tests. I'll look more into ways we can refactor our reverse_routing tests to catch this in the future.
It appears the middleware that sets res.locals.routes isn't called until after exprestive calls the controller action. Thats why the feature tests passes but this fails in production.
The text was updated successfully, but these errors were encountered: