Explorar el Código

Tests: Changed some tests after OT refactor.

Szymon Cofalik hace 7 años
padre
commit
7bf4b96ada
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/ckeditor5-heading/tests/headingcommand.js

+ 2 - 2
packages/ckeditor5-heading/tests/headingcommand.js

@@ -166,11 +166,11 @@ describe( 'HeadingCommand', () => {
 			setData( model, '<paragraph>foo[]bar</paragraph>' );
 
 			model.change( writer => {
-				expect( writer.batch.deltas.length ).to.equal( 0 );
+				expect( writer.batch.operations.length ).to.equal( 0 );
 
 				command.execute( { value: 'heading1' } );
 
-				expect( writer.batch.deltas.length ).to.be.above( 0 );
+				expect( writer.batch.operations.length ).to.be.above( 0 );
 			} );
 		} );