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.
32 lines
582 B
32 lines
582 B
define(['TraitManager/model/Trait', 'DomComponents/model/Component'],
|
|
function(Trait, Component) {
|
|
|
|
return {
|
|
run: function(){
|
|
|
|
describe('TraitModels', function() {
|
|
|
|
var obj;
|
|
var target;
|
|
var modelName = 'title';
|
|
|
|
beforeEach(function () {
|
|
target = new Component();
|
|
obj = new Trait({
|
|
name: modelName,
|
|
target: target,
|
|
});
|
|
});
|
|
|
|
afterEach(function () {
|
|
delete obj;
|
|
});
|
|
|
|
it('Object exists', function() {
|
|
Trait.should.be.exist;
|
|
});
|
|
|
|
});
|
|
}
|
|
}
|
|
});
|
|
|