Ghost/ghost/post-events/test/post-events.test.ts

11 lines
339 B
TypeScript
Raw Normal View History

import assert from 'assert/strict';
import {PostsBulkDestroyedEvent} from '../src/index';
describe('Post Events', function () {
it('Can instantiate BulkDestroyEvent', function () {
const event = PostsBulkDestroyedEvent.create(['1', '2', '3']);
assert.ok(event);
assert.equal(event.data.length, 3);
});
});