瀏覽代碼

Merge branch t/engine/1186

Internal: Update API usage after merge t/1186 on engine.
Piotr Jasiun 8 年之前
父節點
當前提交
82614e8b79
共有 1 個文件被更改,包括 11 次插入0 次删除
  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>';