Sfoglia il codice sorgente

Test: Updated mouse mocking mechanism name, as it was changed lately.

Marek Lewandowski 5 anni fa
parent
commit
61bceb147b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-image/tests/imageresize.js

+ 1 - 1
packages/ckeditor5-image/tests/imageresize.js

@@ -265,7 +265,7 @@ describe( 'ImageResize', () => {
 			const initialPosition = getHandleCenterPoint( domParts.widget, 'bottom-left' );
 			const finalPointerPosition = initialPosition.clone().moveBy( 0, 10 );
 
-			mouseMock.dragTo( editor, domParts.resizeHandle, {
+			resizerMouseSimulator.dragTo( editor, domParts.resizeHandle, {
 				from: initialPosition,
 				to: finalPointerPosition
 			} );