8
0
Pārlūkot izejas kodu

Tests: Corrected test.

Szymon Cofalik 7 gadi atpakaļ
vecāks
revīzija
d903f51ef8

+ 1 - 1
packages/ckeditor5-undo/tests/undoediting-integration.js

@@ -1055,7 +1055,7 @@ describe( 'UndoEditing integration', () => {
 		// 1. Step - add text and marker to the paragraph.
 		model.change( writer => {
 			writer.appendText( 'foo', paragraph );
-			writer.setMarker( 'marker', Range.createIn( paragraph ) );
+			writer.setMarker( 'marker', Range.createIn( paragraph ), { usingOperation: true } );
 		} );
 
 		// 2. Step - remove text from paragraph.