Browse Source

Tests: Fixed tests leaking editor instance / DOM element.

Marek Lewandowski 6 năm trước cách đây
mục cha
commit
3f313554c6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/ckeditor5-link/tests/linkui.js

+ 1 - 0
packages/ckeditor5-link/tests/linkui.js

@@ -1071,6 +1071,7 @@ describe( 'LinkUI', () => {
 
 				afterEach( () => {
 					editorElement.remove();
+					return editor.destroy();
 				} );
 
 				it( 'should gather information about manual decorators', () => {