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

Commit 277da63

Browse files
committed
Fix garbage collection in tests
Fixes #79
1 parent 67ca47b commit 277da63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/tinymce.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ describe('uiTinymce', function () {
1515

1616
afterEach(function () {
1717
angular.module('ui.tinymce').value('uiTinymceConfig', {});
18+
tinymce.remove('textarea');
1819
element.remove();
1920
});
2021

0 commit comments

Comments
 (0)