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.
24 lines
478 B
24 lines
478 B
import Editor from '../../../src/editor/model/Editor';
|
|
import TraitManager from '../../../src/trait_manager';
|
|
|
|
describe('TraitManager', () => {
|
|
let em: Editor;
|
|
let tm: TraitManager;
|
|
|
|
beforeEach(() => {
|
|
em = new Editor({
|
|
mediaCondition: 'max-width',
|
|
avoidInlineStyle: true,
|
|
});
|
|
tm = em.Traits;
|
|
// em.Pages.onLoad();
|
|
});
|
|
|
|
afterEach(() => {
|
|
em.destroy();
|
|
});
|
|
|
|
test('TraitManager exists', () => {
|
|
expect(tm).toBeTruthy();
|
|
});
|
|
});
|
|
|