8
0
Pārlūkot izejas kodu

Merge branch t/engine/1186

Internal: Update API usage after merge t/1186 on engine.
Piotr Jasiun 8 gadi atpakaļ
vecāks
revīzija
82614e8b79
1 mainītis faili ar 11 papildinājumiem un 0 dzēšanām
  1. 11 0
      packages/ckeditor5-build-balloon/tests/ckeditor.js

+ 11 - 0
packages/ckeditor5-build-balloon/tests/ckeditor.js

@@ -73,6 +73,17 @@ describe( 'BalloonEditor build', () => {
 	} );
 
 	describe( 'plugins', () => {
+		beforeEach( () => {
+			return BalloonEditor.create( editorElement )
+				.then( newEditor => {
+					editor = newEditor;
+				} );
+		} );
+
+		afterEach( () => {
+			return editor.destroy();
+		} );
+
 		it( 'paragraph works', () => {
 			const data = '<p>Some text inside a paragraph.</p>';