grapesjs
Version:
Free and Open Source Web Builder Framework
26 lines (20 loc) • 432 B
JavaScript
import Assets from 'asset_manager/model/Assets';
module.exports = {
run() {
describe('Assets', () => {
var obj;
beforeEach(() => {
obj = new Assets();
});
afterEach(() => {
obj = null;
});
test('Object exists', () => {
expect(obj).toBeTruthy();
});
test('Collection is empty', () => {
expect(obj.length).toEqual(0);
});
});
}
};