Răsfoiți Sursa

Merge branch t/new-ot

Internal: Adjust code and docs to the new OT, remove deltas.
Piotr Jasiun 7 ani în urmă
părinte
comite
a5c198cdce

+ 2 - 2
packages/ckeditor5-basic-styles/tests/attributecommand.js

@@ -284,9 +284,9 @@ describe( 'AttributeCommand', () => {
 			setData( model, '<p>a[bc<$text bold="true">fo]obar</$text>xyz</p>' );
 
 			model.change( writer => {
-				expect( writer.batch.deltas.length ).to.equal( 0 );
+				expect( writer.batch.operations.length ).to.equal( 0 );
 				command.execute();
-				expect( writer.batch.deltas.length ).to.equal( 1 );
+				expect( writer.batch.operations.length ).to.equal( 1 );
 			} );
 
 			expect( getData( model ) ).to.equal( '<p>a[<$text bold="true">bcfo]obar</$text>xyz</p>' );