浏览代码

Fix mention ui positioning tests.

Maciej Gołaszewski 6 年之前
父节点
当前提交
bcf435bd06
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/ckeditor5-mention/tests/mentionui.js

+ 3 - 1
packages/ckeditor5-mention/tests/mentionui.js

@@ -169,7 +169,9 @@ describe( 'MentionUI', () => {
 					model.change( writer => {
 						writer.insertText( 't', doc.selection.getFirstPosition() );
 					} );
-				} ).then( () => {
+				} )
+				.then( waitForDebounce )
+				.then( () => {
 					sinon.assert.calledTwice( pinSpy );
 				} );
 		} );