Ver Fonte

Added missing test.

Piotrek Koszuliński há 9 anos atrás
pai
commit
fa8f41d57d
1 ficheiros alterados com 4 adições e 0 exclusões
  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 );
+		} );
 	} );
 } );