Przeglądaj źródła

Align test code to the latest changes in selection post-fixer.

Maciej Gołaszewski 6 lat temu
rodzic
commit
0e15bad1dd

+ 1 - 1
packages/ckeditor5-image/tests/imagestyle/imagestylecommand.js

@@ -35,7 +35,7 @@ describe( 'ImageStyleCommand', () => {
 	} );
 
 	it( 'command value should be false if no image is selected', () => {
-		setData( model, '[]<image></image>' );
+		setData( model, '<p>[]</p><image></image>' );
 
 		expect( command.value ).to.be.false;
 	} );