Selaa lähdekoodia

Tests: Corrected test.

Szymon Cofalik 7 vuotta sitten
vanhempi
commit
d903f51ef8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/ckeditor5-undo/tests/undoediting-integration.js

+ 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.