Free and Open source Web Builder Framework. Next generation tool for building templates without coding
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

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();
});
});
}
};