undo.js 542 B

123456789101112131415161718
  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 Undo from '../src/undo';
  6. import UndoEditing from '../src/undoediting';
  7. import UndoUI from '../src/undoui';
  8. describe( 'Undo', () => {
  9. it( 'should be named', () => {
  10. expect( Undo.pluginName ).to.equal( 'Undo' );
  11. } );
  12. it( 'should require UndoEditing and UndoUI', () => {
  13. expect( Undo.requires ).to.deep.equal( [ UndoEditing, UndoUI ] );
  14. } );
  15. } );