8
0
panr 5 лет назад
Родитель
Сommit
324db2af5c
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      packages/ckeditor5-editor-inline/tests/inlineeditorui.js

+ 4 - 0
packages/ckeditor5-editor-inline/tests/inlineeditorui.js

@@ -97,6 +97,8 @@ describe( 'InlineEditorUI', () => {
 					target: view.editable.element,
 					positions: sinon.match.array
 				} );
+
+				viewElement.remove();
 			} );
 
 			it( 'pin() is not called on editor.ui#update when panel is hidden', () => {
@@ -135,6 +137,8 @@ describe( 'InlineEditorUI', () => {
 				editor.ui.fire( 'update' );
 
 				sinon.assert.calledOnce( spy );
+
+				viewElement.remove();
 			} );
 
 			it( 'toolbar should group items by default', () => {