ソースを参照

Cleaned up in the DOM after test.

Oskar Wróbel 6 年 前
コミット
e989130863
1 ファイル変更2 行追加0 行削除
  1. 2 0
      packages/ckeditor5-ui/tests/editableui/editableuiview.js

+ 2 - 0
packages/ckeditor5-ui/tests/editableui/editableuiview.js

@@ -121,6 +121,8 @@ describe( 'EditableUIView', () => {
 				expect( editingViewRoot.hasClass( 'ck-blurred' ), 10 ).to.be.true;
 				expect( secondEditingViewRoot.hasClass( 'ck-focused' ), 11 ).to.be.true;
 				expect( secondEditingViewRoot.hasClass( 'ck-blurred' ), 12 ).to.be.false;
+
+				secondEditableElement.remove();
 			} );
 		} );
 	} );