grapesjs_codeapps
Version:
Free and Open Source Web Builder Framework/SC Modification
26 lines (20 loc) • 435 B
JavaScript
var Assets = require('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);
});
});
}
};