mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Bumped email-mock-receiver
refs https://github.com/TryGhost/Team/issues/2691 - This bump changes the "sentEmailCount" method to a more descriptive "assertSentEmailCount" and adds chaining to this method.
This commit is contained in:
parent
f61ea1f1a2
commit
3f78e959b3
3 changed files with 7 additions and 7 deletions
|
@ -80,7 +80,7 @@
|
|||
"@tryghost/email-analytics-provider-mailgun": "0.0.0",
|
||||
"@tryghost/email-analytics-service": "0.0.0",
|
||||
"@tryghost/email-content-generator": "0.0.0",
|
||||
"@tryghost/email-mock-receiver": "0.2.2",
|
||||
"@tryghost/email-mock-receiver": "0.3.0",
|
||||
"@tryghost/email-service": "0.0.0",
|
||||
"@tryghost/email-suppression-list": "0.0.0",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
|
|
|
@ -139,7 +139,7 @@ const mockWebhookRequests = () => {
|
|||
};
|
||||
|
||||
/**
|
||||
* @deprecated use emailMockReceiver.sentEmailCount(count) instead
|
||||
* @deprecated use emailMockReceiver.assertSentEmailCount(count) instead
|
||||
* @param {Number} count number of emails sent
|
||||
*/
|
||||
const sentEmailCount = (count) => {
|
||||
|
@ -149,7 +149,7 @@ const sentEmailCount = (count) => {
|
|||
});
|
||||
}
|
||||
|
||||
mocks.mockMailReceiver.sentEmailCount(count);
|
||||
mocks.mockMailReceiver.assertSentEmailCount(count);
|
||||
};
|
||||
|
||||
const sentEmail = (matchers) => {
|
||||
|
|
|
@ -5737,10 +5737,10 @@
|
|||
"@tryghost/debug" "^0.1.22"
|
||||
split2 "4.1.0"
|
||||
|
||||
"@tryghost/email-mock-receiver@0.2.2":
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/email-mock-receiver/-/email-mock-receiver-0.2.2.tgz#214f4424a3d7a51df19e9de397a42ccedba3dcb3"
|
||||
integrity sha512-iYAp1BGpHPthWgwklddewNJOGdB4/uetAZJRadVsZd/Y8jqtSXk4TEH3IVJuTcXQTbVam+ggAgnheFDW/ANBZg==
|
||||
"@tryghost/email-mock-receiver@0.3.0":
|
||||
version "0.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/email-mock-receiver/-/email-mock-receiver-0.3.0.tgz#ec8f31ac0fac5dd1259993b4bc51d8af2c19e398"
|
||||
integrity sha512-zedIlGxExBPeTegaMDenfFT8x+GdJ40fjzQVzB9g2MX6Vejlg+gAfiI7V++3kXnQbXinEpWVyez+YvY2Ah14lA==
|
||||
|
||||
"@tryghost/ember-promise-modals@2.0.1":
|
||||
version "2.0.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue