浏览代码

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

Marek Lewandowski 5 年之前
父节点
当前提交
eb487de368
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );
 			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.
 			// 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();
 			editor.commands.get( 'undo' ).execute();