Răsfoiți Sursa

Remove redundant lines from the test of cycling with single item in the mention list.

Maciej Gołaszewski 6 ani în urmă
părinte
comite
2cff4d983d
1 a modificat fișierele cu 1 adăugiri și 12 ștergeri
  1. 1 12
      packages/ckeditor5-mention/tests/mentionui.js

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

@@ -932,21 +932,10 @@ describe( 'MentionUI', () => {
 					};
 
 					model.change( writer => {
-						writer.insertText( '@', doc.selection.getFirstPosition() );
+						writer.insertText( '@T', doc.selection.getFirstPosition() );
 					} );
 
 					return waitForDebounce()
-						.then( () => {
-							expectChildViewsIsOnState( [ true, false, false, false, false ] );
-
-							fireKeyDownEvent( keyDownEvtData );
-							expectChildViewsIsOnState( [ false, true, false, false, false ] );
-
-							model.change( writer => {
-								writer.insertText( 'T', doc.selection.getFirstPosition() );
-							} );
-						} )
-						.then( waitForDebounce )
 						.then( () => {
 							expectChildViewsIsOnState( [ true ] );