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.
44 lines
820 B
44 lines
820 B
define(function(require, exports, module){
|
|
'use strict';
|
|
var Commands = require('undefined');
|
|
|
|
module.exports = {
|
|
run : function(){
|
|
describe('Command', function() {
|
|
var obj;
|
|
|
|
beforeEach(function () {
|
|
obj = new Command();
|
|
});
|
|
|
|
afterEach(function () {
|
|
delete obj;
|
|
});
|
|
|
|
it('Has id property', function() {
|
|
obj.has('id').should.equal(true);
|
|
});
|
|
|
|
});
|
|
|
|
describe('Commands', function() {
|
|
var obj;
|
|
|
|
beforeEach(function () {
|
|
obj = new Commands();
|
|
});
|
|
|
|
afterEach(function () {
|
|
delete obj;
|
|
});
|
|
|
|
it('Object is ok', function() {
|
|
obj.should.be.ok;
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
};
|
|
|
|
});
|