瀏覽代碼

Tests: Simplified BalloonEditorUI tests.

Internal: Aligned the UI to the latest API of the framework (see ckeditor/ckeditor5-ui#262).
Aleksander Nowodzinski 8 年之前
父節點
當前提交
cc5f7e5852
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-editor-balloon/tests/ballooneditorui.js

+ 1 - 1
packages/ckeditor5-editor-balloon/tests/ballooneditorui.js

@@ -39,7 +39,7 @@ describe( 'BalloonEditorUI', () => {
 		} );
 
 		it( 'sets #view', () => {
-			expect( ui.view ).to.equal( view );
+			expect( ui.view ).to.be.instanceOf( BalloonEditorUIView );
 		} );
 
 		it( 'creates #componentFactory factory', () => {