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

Extract send from middleware #23

Merged
merged 1 commit into from
Sep 19, 2017
Merged

Conversation

wacii
Copy link
Collaborator

@wacii wacii commented Sep 11, 2017

This is mostly about adding more tests. Exposing send() as an export allows it to be tested, and separating it into a different file allows it to be easily mocked during the middleware tests.

Involved enough to warrant tests. Separating them into modules allows
the integration point to be tested more easily as well.
Copy link
Owner

@sorodrigo sorodrigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this loooks good :)

@sorodrigo sorodrigo merged commit fe836ce into sorodrigo:master Sep 19, 2017
@wacii wacii deleted the extract-send branch February 20, 2018 19:34
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

Successfully merging this pull request may close these issues.

2 participants