| 3569 | let clientInnerInitCount = 0; |
| 3570 | |
| 3571 | @Component({ |
| 3572 | selector: 'inner-block', |
| 3573 | template: `<span class="inner-content">hydrated</span>`, |
| 3574 | }) |
| 3575 | class InnerBlock { |
| 3576 | private readonly isServer = isPlatformServer(inject(PLATFORM_ID)); |
| 3577 | |
| 3578 | constructor() { |
| 3579 | if (!this.isServer) { |
| 3580 | clientInnerInitCount++; |
| 3581 | } |
| 3582 | } |
| 3583 | } |
| 3584 | |
| 3585 | async function ssrAndHydrate(component: Type<unknown>) { |
| 3586 | const html = await ssr(component, {envProviders, hydrationFeatures}); |
nothing calls this directly
no test coverage detected