Преглед изворни кода

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