8
0
Pārlūkot izejas kodu

Tests: Fixed tests leaking editor instance / DOM element.

Marek Lewandowski 6 gadi atpakaļ
vecāks
revīzija
3f313554c6
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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', () => {