8
0
Просмотр исходного кода

Tests: Simplified BalloonEditorUI tests.

Internal: Aligned the UI to the latest API of the framework (see ckeditor/ckeditor5-ui#262).
Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
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', () => {