|
@@ -571,15 +571,15 @@ describe( 'Template', () => {
|
|
|
);
|
|
);
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
- // #289
|
|
|
|
|
|
|
+ // https://github.com/ckeditor/ckeditor5-ui/issues/289
|
|
|
it( 'does not throw when child does not have an "id" property', () => {
|
|
it( 'does not throw when child does not have an "id" property', () => {
|
|
|
- expect( () => {
|
|
|
|
|
- const strongView = getView( {
|
|
|
|
|
- tag: 'strong'
|
|
|
|
|
- } );
|
|
|
|
|
|
|
+ const strongView = getView( {
|
|
|
|
|
+ tag: 'strong'
|
|
|
|
|
+ } );
|
|
|
|
|
|
|
|
- strongView.set( 'id' );
|
|
|
|
|
|
|
+ strongView.set( 'id' );
|
|
|
|
|
|
|
|
|
|
+ expect( () => {
|
|
|
getView( {
|
|
getView( {
|
|
|
tag: 'div',
|
|
tag: 'div',
|
|
|
children: [
|
|
children: [
|