Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Unit Test #165

Open
alanjames1987 opened this issue Feb 2, 2015 · 0 comments
Open

How to Unit Test #165

alanjames1987 opened this issue Feb 2, 2015 · 0 comments

Comments

@alanjames1987
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant