Skip to content

Commit b272afa

Browse files
committed
Fix lint
1 parent b2fa0ae commit b272afa

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tinymce-angular-component/src/test/ts/alien/TestHooks.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,10 @@ export const editorHook = <T = unknown>(component: Type<T>, moduleDef: TestModul
8484
// after global tinymce is removed in a clean up. Specifically, it happens when unloading/loading different versions of TinyMCE
8585
if (editor.licenseKeyManager) {
8686
editor.licenseKeyManager.validate({}).then(() => {
87-
// setTimeout(() => {
88-
resolve(editor as Editor);
89-
// }, 500);
87+
resolve(editor as Editor);
9088
}).catch((reason) => console.warn(reason));
9189
} else {
92-
// setTimeout(() => {
93-
resolve(editor as Editor);
94-
// }, 500);
90+
resolve(editor as Editor);
9591
}
9692
});
9793
})

0 commit comments

Comments
 (0)