Added task queue for emails

This commit is contained in:
Jori Lallo
2017-12-18 20:47:48 -08:00
parent 7af2ff20a8
commit 1cb00079da
5 changed files with 168 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ describe('Mailer', () => {
});
test('#welcome', () => {
fakeMailer.welcome('user@example.com');
fakeMailer.welcome({ to: 'user@example.com' });
expect(sendMailOutput).toMatchSnapshot();
});
});