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.
 
 
 
 

31 lines
546 B

const Trait = require('trait_manager/model/Trait');
const Component = require('dom_components/model/Component');
module.exports = {
run() {
describe('TraitModels', () => {
var obj;
var target;
var modelName = 'title';
beforeEach(() => {
target = new Component();
obj = new Trait({
name: modelName,
target,
});
});
afterEach(() => {
obj = null;
});
it('Object exists', () => {
expect(Trait).toExist();
});
});
}
}