todolist.js 598 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 TodoList from '../src/todolist';
  6. import TodoListEditing from '../src/todolistediting';
  7. import TodoListUI from '../src/todolistui';
  8. describe( 'TodoList', () => {
  9. it( 'should be named', () => {
  10. expect( TodoList.pluginName ).to.equal( 'TodoList' );
  11. } );
  12. it( 'should require TodoListEditing and TodoListUI', () => {
  13. expect( TodoList.requires ).to.deep.equal( [ TodoListEditing, TodoListUI ] );
  14. } );
  15. } );