| 2473 | |
| 2474 | it('should render an error block when loading fails and cleanup the original content', async () => { |
| 2475 | @Component({ |
| 2476 | selector: 'nested-cmp', |
| 2477 | template: 'Rendering {{ block }} block.', |
| 2478 | }) |
| 2479 | class NestedCmp { |
| 2480 | @Input() block!: string; |
| 2481 | } |
| 2482 | |
| 2483 | @Component({ |
| 2484 | selector: 'app', |