Browse Source

Merge pull request #253 from ckeditor/i/6002

Tests: Fixed tests leaking editor instances / DOM elements. See ckeditor/ckeditor5#6002.
Kamil Piechaczek 6 years ago
parent
commit
dd7c229ae8
1 changed files with 1 additions and 0 deletions
  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', () => {