code.js 552 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 Code from '../src/code';
  6. import CodeEditing from '../src/code/codeediting';
  7. import CodeUI from '../src/code/codeui';
  8. describe( 'Code', () => {
  9. it( 'should require CodeEditing and CodeUI', () => {
  10. expect( Code.requires ).to.deep.equal( [ CodeEditing, CodeUI ] );
  11. } );
  12. it( 'should be named', () => {
  13. expect( Code.pluginName ).to.equal( 'Code' );
  14. } );
  15. } );