|
@@ -6,7 +6,6 @@
|
|
|
import Element from '../../src/model/element';
|
|
import Element from '../../src/model/element';
|
|
|
import Text from '../../src/model/text';
|
|
import Text from '../../src/model/text';
|
|
|
import DocumentFragment from '../../src/model/documentfragment';
|
|
import DocumentFragment from '../../src/model/documentfragment';
|
|
|
-import MarkerCollection from '../../src/model/markercollection';
|
|
|
|
|
import { jsonParseStringify } from '../../tests/model/_utils/utils';
|
|
import { jsonParseStringify } from '../../tests/model/_utils/utils';
|
|
|
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
|
|
|
|
|
@@ -30,10 +29,10 @@ describe( 'DocumentFragment', () => {
|
|
|
expect( frag.getChild( 2 ) ).to.have.property( 'data' ).that.equals( 'yy' );
|
|
expect( frag.getChild( 2 ) ).to.have.property( 'data' ).that.equals( 'yy' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
- it( 'should have markers collection', () => {
|
|
|
|
|
|
|
+ it( 'should have markers list', () => {
|
|
|
let frag = new DocumentFragment();
|
|
let frag = new DocumentFragment();
|
|
|
|
|
|
|
|
- expect( frag ).to.have.property( 'markers' ).to.instanceof( MarkerCollection );
|
|
|
|
|
|
|
+ expect( frag ).to.have.property( 'markers' ).to.instanceof( Map );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should have root property, equal to itself', () => {
|
|
it( 'should have root property, equal to itself', () => {
|