2023-06-21 11:56:59 +03:00
|
|
|
const assert = require('assert/strict');
|
2022-11-24 09:54:20 +03:00
|
|
|
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'));
|
|
|
|
});
|
|
|
|
});
|