109cdeb492
no issue Bookshelf by default returns an empty model when requesting .related('email') for a post without an email. So we need to be a bit smarter to know if a post has an email or not. This fixed an issue where we always showed 'published and emailed' instead of 'published only'. Since this change also included some changes to test helpers, it also made some changes to the email service because coverage dropped below 100% as a result of fixing the .related method mocking. Ideally we want to move test test helpers to a seperate package in the future. |
||
---|---|---|
.. | ||
utils | ||
.eslintrc.js | ||
batch-sending-service.test.js | ||
email-controller.test.js | ||
email-event-processor.test.js | ||
email-event-storage.test.js | ||
email-renderer.test.js | ||
email-segmenter.test.js | ||
email-service.test.js | ||
mailgun-email-provider.test.js | ||
sending-service.test.js |