Explorar el Código

Tests: Fixed broken dropdown button assertion after changes in ckeditor/ckeditor5-ui#333.

Aleksander Nowodzinski hace 8 años
padre
commit
195149d02e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-heading/tests/heading.js

+ 1 - 1
packages/ckeditor5-heading/tests/heading.js

@@ -78,7 +78,7 @@ describe( 'Heading', () => {
 
 			expect( dropdown ).to.be.instanceOf( DropdownView );
 			expect( dropdown.buttonView.isEnabled ).to.be.true;
-			expect( dropdown.buttonView.isOn ).to.be.undefined;
+			expect( dropdown.buttonView.isOn ).to.be.false;
 			expect( dropdown.buttonView.label ).to.equal( 'Paragraph' );
 			expect( dropdown.buttonView.tooltip ).to.equal( 'Heading' );
 		} );