Browse Source

Added missing test.

Piotrek Koszuliński 9 năm trước cách đây
mục cha
commit
fa8f41d57d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      packages/ckeditor5-ui/tests/editorui/editorui.js

+ 4 - 0
packages/ckeditor5-ui/tests/editorui/editorui.js

@@ -26,5 +26,9 @@ describe( 'EditorUI', () => {
 
 			expect( editorUI.collections.get( 'body' ) ).to.be.instanceof( ControllerCollection );
 		} );
+
+		it( 'sets editor.ui property', () => {
+			expect( editor ).to.have.property( 'ui', editorUI );
+		} );
 	} );
 } );