ソースを参照

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
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', () => {