Ver código fonte

Update packages/ckeditor5-media-embed/tests/automediaembed.js

Co-authored-by: Maciej <jodator@jodator.net>
Kuba Niegowski 5 anos atrás
pai
commit
a8513108c4

+ 1 - 1
packages/ckeditor5-media-embed/tests/automediaembed.js

@@ -604,7 +604,7 @@ describe( 'AutoMediaEmbed - integration', () => {
 			editor.setData( '' );
 		} ).not.to.throw();
 
-		editor.destroy();
+		await editor.destroy();
 	} );
 
 	function simulateTyping( text ) {