Browse Source

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

Marek Lewandowski 5 years ago
parent
commit
eb487de368
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

@@ -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();