table.js 882 B

12345678910111213141516171819202122
  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 TableNavigation from '../src/tablenavigation';
  11. import Widget from '@ckeditor/ckeditor5-widget/src/widget';
  12. describe( 'Table', () => {
  13. it( 'requires TableEditing, TableUI, TableSelection, TableClipboard, TableNavigation and Widget', () => {
  14. expect( Table.requires ).to.deep.equal( [ TableEditing, TableUI, TableSelection, TableClipboard, TableNavigation, Widget ] );
  15. } );
  16. it( 'has proper name', () => {
  17. expect( Table.pluginName ).to.equal( 'Table' );
  18. } );
  19. } );