/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import normalizeHtml from '../../tests/_utils/normalizehtml'; describe( 'utils', () => { describe( 'normalizeHtml', () => { it( 'should sort attributes', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should normalize styles', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should lowercase attributes', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should trim whitespace', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should remove empty style attribute', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should leave empty class attribute', () => { const actual = '
'; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); it( 'should sort attribute value', () => { const actual = ''; const expected = ''; expect( normalizeHtml( actual ) ).to.equal( expected ); } ); } ); } );