| 2479 | |
| 2480 | it('should render an error block when loading fails and cleanup the original content', async () => { |
| 2481 | @Component({ |
| 2482 | selector: 'nested-cmp', |
| 2483 | template: 'Rendering {{ block }} block.', |
| 2484 | }) |
| 2485 | class NestedCmp { |
| 2486 | @Input() block!: string; |
| 2487 | } |
| 2488 | |
| 2489 | @Component({ |
| 2490 | selector: 'app', |