editorui.js 544 B

123456789101112131415161718192021222324
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. 'use strict';
  6. import Editor from '/ckeditor5/core/editor.js';
  7. import EditorUI from '/ckeditor5/core/editorui.js';
  8. describe( 'EditorUI', () => {
  9. let editor, editorUI;
  10. beforeEach( () => {
  11. editor = new Editor();
  12. editorUI = new EditorUI( editor );
  13. } );
  14. describe( 'constructor', () => {
  15. it( 'sets all the properties', () => {
  16. expect( editorUI ).to.have.property( 'editor', editor );
  17. } );
  18. } );
  19. } );