Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 2657a60

Browse files
authored
Merge pull request #107 from ckeditor/i/6002
Tests: Fixed tests leaking editor instances / DOM elements. See ckeditor/ckeditor5#6002.
2 parents e9cc9a5 + 0181cea commit 2657a60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/adapters/simpleuploadadapter.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ describe( 'SimpleUploadAdapter', () => {
3838

3939
afterEach( () => {
4040
sinonXHR.restore();
41+
42+
editorElement.remove();
43+
44+
return editor.destroy();
4145
} );
4246

4347
it( 'should require the FileRepository plugin', () => {

0 commit comments

Comments
 (0)