|
|
@@ -3,7 +3,7 @@
|
|
|
* For licensing, see LICENSE.md.
|
|
|
*/
|
|
|
|
|
|
-import Document from '../../src/model/document';
|
|
|
+import Model from '../../src/model/model';
|
|
|
import DocumentFragment from '../../src/model/documentfragment';
|
|
|
import Element from '../../src/model/element';
|
|
|
import Text from '../../src/model/text';
|
|
|
@@ -13,11 +13,12 @@ import Range from '../../src/model/range';
|
|
|
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
|
|
|
|
|
|
describe( 'TreeWalker', () => {
|
|
|
- let doc, root, img1, paragraph, ba, r, img2, x,
|
|
|
+ let model, doc, root, img1, paragraph, ba, r, img2, x,
|
|
|
rootBeginning, rootEnding;
|
|
|
|
|
|
before( () => {
|
|
|
- doc = new Document();
|
|
|
+ model = new Model();
|
|
|
+ doc = model.document;
|
|
|
root = doc.createRoot();
|
|
|
|
|
|
// root
|