Sfoglia il codice sorgente

Tests: fixed tests due to "move operation normalization" done in `MoveOperation` x `MoveOperation` transformation.

Szymon Cofalik 8 anni fa
parent
commit
e03eb7e240

+ 2 - 1
packages/ckeditor5-engine/tests/model/delta/transform/transform.js

@@ -429,7 +429,8 @@ describe( 'transform', () => {
 					type: MoveDelta,
 					operations: [
 						{
-							type: ReinsertOperation,
+							type: MoveOperation,
+							sourcePosition: new Position( root, [ 0 ] ),
 							targetPosition: new Position( root, [ 3 ] ),
 							howMany: 1,
 							baseVersion: 3