Browse Source

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

Marek Lewandowski 5 years ago
parent
commit
61bceb147b
1 changed files with 1 additions and 1 deletions
  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
 			} );