瀏覽代碼

Tests: Simplified unit test.

See https://github.com/ckeditor/ckeditor5-mention/pull/55#discussion_r276951359.
Marek Lewandowski 6 年之前
父節點
當前提交
dc9eabee74
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0 10
      packages/ckeditor5-mention/tests/mentionui.js

+ 0 - 10
packages/ckeditor5-mention/tests/mentionui.js

@@ -569,16 +569,6 @@ describe( 'MentionUI', () => {
 
 				return waitForDebounce()
 					.then( () => {
-						expect( panelView.isVisible ).to.be.false;
-
-						model.change( writer => {
-							writer.setSelection( doc.getRoot().getChild( 0 ), 10 );
-						} );
-					} )
-					.then( waitForDebounce )
-					.then( () => {
-						expect( panelView.isVisible ).to.be.false;
-
 						model.change( writer => {
 							writer.setSelection( doc.getRoot().getChild( 0 ), 9 );
 						} );