mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added mocks mail receiver reset
no issue - initiates the mail receiver reset to ensure it clears the mock inbox.
This commit is contained in:
parent
af31e5d910
commit
4198083e21
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ const restore = () => {
|
|||
mocks.webhookMockReceiver.reset();
|
||||
}
|
||||
|
||||
if (mocks.mockMailReceiver) {
|
||||
mocks.mockMailReceiver.reset();
|
||||
}
|
||||
|
||||
mailService.GhostMailer.prototype.send = originalMailServiceSend;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue