8
0

horizontalrule.js 682 B

123456789101112131415161718
  1. /**
  2. * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. import HorizontalRule from '../src/horizontalrule';
  6. import HorizontalRuleEditing from '../src/horizontalruleediting';
  7. import HorizontalRuleUI from '../src/horizontalruleui';
  8. describe( 'HorizontalRule', () => {
  9. it( 'should require HorizontalRuleEditing and HorizontalRuleUI', () => {
  10. expect( HorizontalRule.requires ).to.deep.equal( [ HorizontalRuleEditing, HorizontalRuleUI ] );
  11. } );
  12. it( 'should be named', () => {
  13. expect( HorizontalRule.pluginName ).to.equal( 'HorizontalRule' );
  14. } );
  15. } );