Explorar o código

Tests: Fixed tests leaking editor instance / DOM element.

Marek Lewandowski %!s(int64=6) %!d(string=hai) anos
pai
achega
3f313554c6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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', () => {