mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
653 B
38 lines
653 B
const Command = require('commands/model/Command');
|
|
const Commands = require('commands');
|
|
|
|
module.exports = {
|
|
run() {
|
|
describe('Command', () => {
|
|
let obj;
|
|
|
|
beforeEach(() => {
|
|
obj = new Command();
|
|
});
|
|
|
|
afterEach(() => {
|
|
obj = null;
|
|
});
|
|
|
|
test('Has id property', () => {
|
|
expect(obj.has('id')).toEqual(true);
|
|
});
|
|
});
|
|
|
|
describe('Commands', () => {
|
|
var obj;
|
|
|
|
beforeEach(() => {
|
|
obj = new Commands();
|
|
});
|
|
|
|
afterEach(() => {
|
|
obj = null;
|
|
});
|
|
|
|
test('Object is ok', () => {
|
|
expect(obj).toBeTruthy();
|
|
});
|
|
});
|
|
}
|
|
};
|
|
|