font.js 719 B

1234567891011121314151617181920
  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 Font from './../src/font';
  6. import FontFamily from './../src/fontfamily';
  7. import FontSize from './../src/fontsize';
  8. import FontColor from './../src/fontcolor';
  9. import FontBackgroundColor from './../src/fontbackgroundcolor';
  10. describe( 'Font', () => {
  11. it( 'requires FontFamily, FontSize, FontColor, FontBackgroundColor', () => {
  12. expect( Font.requires ).to.deep.equal( [ FontFamily, FontSize, FontColor, FontBackgroundColor ] );
  13. } );
  14. it( 'defines plugin name', () => {
  15. expect( Font.pluginName ).to.equal( 'Font' );
  16. } );
  17. } );