mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
90c9a03319
refs https://github.com/TryGhost/Team/issues/2253 refs https://github.com/TryGhost/Team/issues/2254 This package is analogous to the @tryghost/member-events package. The events here will be consumed by the EmailSuppressionList implementation and used to add emails to said list. They'll be dispatched by the code which handles events received from Mailgun.
14 lines
473 B
JavaScript
14 lines
473 B
JavaScript
const assert = require('assert');
|
|
const events = require('../');
|
|
|
|
describe('index.js', function () {
|
|
it('exports SpamComplaintEvent', function () {
|
|
assert(events.SpamComplaintEvent);
|
|
assert(events.SpamComplaintEvent === require('../lib/SpamComplaintEvent'));
|
|
});
|
|
it('exports EmailBouncedEvent', function () {
|
|
assert(events.EmailBouncedEvent);
|
|
assert(events.EmailBouncedEvent === require('../lib/EmailBouncedEvent'));
|
|
});
|
|
});
|