table.js 947 B

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