| 298 | elementRef = inject(ElementRef); |
| 299 | } |
| 300 | @Component({ |
| 301 | selector: 'app', |
| 302 | template: '<ng-template #ref></ng-template>', |
| 303 | }) |
| 304 | class App { |
| 305 | @ViewChild('ref', {read: ViewContainerRef}) viewContainer!: ViewContainerRef; |
| 306 | unused = afterEveryRender(() => { |
| 307 | renderHookCalls++; |
| 308 | }); |
| 309 | |
| 310 | ngDoCheck() { |
| 311 | doCheckCount++; |
| 312 | } |
| 313 | } |
| 314 | const applicationRef = await bootstrapApplication(App, { |
| 315 | providers: [ |
| 316 | provideZonelessChangeDetection(), |
nothing calls this directly
no test coverage detected