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
I have unit tested Express before by mocking a request, response, and next method before passing them into route handlers. This doesn't seem to be an option in Locomotive.
I'm not interested in just testing the API response with something like superagent. I am only interested in unit testing my controllers.
How do you go about doing this?
The text was updated successfully, but these errors were encountered:
I have unit tested Express before by mocking a request, response, and next method before passing them into route handlers. This doesn't seem to be an option in Locomotive.
I'm not interested in just testing the API response with something like superagent. I am only interested in unit testing my controllers.
How do you go about doing this?
The text was updated successfully, but these errors were encountered: