Tests: Fixed tests leaking editor instances / DOM elements. See ckeditor/ckeditor5#6002.
@@ -1071,6 +1071,7 @@ describe( 'LinkUI', () => {
afterEach( () => {
editorElement.remove();
+ return editor.destroy();
} );
it( 'should gather information about manual decorators', () => {