8
0
Pārlūkot izejas kodu

Tests: Adjusted the timing so that it is more than the actual throttle.

Marek Lewandowski 5 gadi atpakaļ
vecāks
revīzija
eb487de368
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/ckeditor5-image/tests/imageresize.js

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

@@ -273,7 +273,7 @@ describe( 'ImageResize', () => {
 			expect( '120px' ).to.be.equal( domParts.widget.style.width );
 
 			// ui#update (fired after undo changes) handling is throttled. Wait, so that it will redraw instantly.
-			await wait( 200 );
+			await wait( 220 );
 
 			editor.commands.get( 'undo' ).execute();