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

SDE-171: Calculate User Daily Digest Test #75

Merged
merged 2 commits into from
Oct 21, 2019

Conversation

antreaspas
Copy link
Contributor

  • Uses the lambda I/O snippets from the original PR to determine expected lambda output going to the sendDigestEmail lambda

Had to refactor quite a bit of the code to get it to work, mainly moving the module declarations to the handler's scope as they were being initialised before they were mocked, and also had to export both handler and sendDailyDigestEmail functions in order to mock the latter.

@antreaspas antreaspas merged commit 46218b6 into master Oct 21, 2019
@antreaspas antreaspas deleted the SDE-171-test-calculate-user-daily-digest branch October 21, 2019 12:31
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.

1 participant