table.js 795 B

123456789101112131415161718192021
  1. /**
  2. * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. import Table from '../src/table';
  6. import TableEditing from '../src/tableediting';
  7. import TableUI from '../src/tableui';
  8. import TableSelection from '../src/tableselection';
  9. import TableClipboard from '../src/tableclipboard';
  10. import Widget from '@ckeditor/ckeditor5-widget/src/widget';
  11. describe( 'Table', () => {
  12. it( 'requires TableEditing, TableUI, TableSelection, TableClipboard, and Widget', () => {
  13. expect( Table.requires ).to.deep.equal( [ TableEditing, TableUI, TableSelection, TableClipboard, Widget ] );
  14. } );
  15. it( 'has proper name', () => {
  16. expect( Table.pluginName ).to.equal( 'Table' );
  17. } );
  18. } );