Browse Source

Update dom_components test file

pull/4830/head
Artur Arseniev 3 years ago
parent
commit
87b096ca99
  1. 9
      test/specs/dom_components/index.ts

9
test/specs/dom_components/index.js → test/specs/dom_components/index.ts

@ -1,6 +1,6 @@
import DomComponents from 'dom_components';
import Components from 'dom_components/model/Components';
import Editor from 'editor/model/Editor';
import DomComponents from '../../../src/dom_components';
import Components from '../../../src/dom_components/model/Components';
import Editor from '../../../src/editor/model/Editor';
import utils from './../../test_utils.js';
describe('DOM Components', () => {
@ -46,7 +46,7 @@ describe('DOM Components', () => {
beforeEach(() => {
em = new Editor({
avoidInlineStyle: 1,
avoidInlineStyle: true,
});
em.loadOnStart();
config = {
@ -67,6 +67,7 @@ describe('DOM Components', () => {
test.skip('Store and load data', () => {
setSmConfig();
setEm();
// @ts-ignore
const comps = new Components({}, {});
obj.getWrapper().set('components', comps);
obj.store();
Loading…
Cancel
Save