Sfoglia il codice sorgente

Tests: Corrected image resize expected for center aligned images using x axis.

Marek Lewandowski 6 anni fa
parent
commit
5478dcc2c0
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      packages/ckeditor5-image/tests/imageresize/resize.js

+ 2 - 2
packages/ckeditor5-image/tests/imageresize/resize.js

@@ -120,7 +120,7 @@ describe( 'Image resizer', () => {
 		} ) );
 
 		it( 'enlarges correctly with right-bottom handler, x axis only', generateResizeTest( {
-			expectedWidth: 110,
+			expectedWidth: 120,
 			pointerOffset: {
 				x: 10,
 				y: 0
@@ -138,7 +138,7 @@ describe( 'Image resizer', () => {
 		} ) );
 
 		it( 'enlarges correctly with left-bottom handler, x axis only', generateResizeTest( {
-			expectedWidth: 110,
+			expectedWidth: 120,
 			pointerOffset: {
 				x: -10,
 				y: 0