/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { APP_ID, Component, makeStateKey, NgModule, TransferState, ɵgetTransferState as getTransferState, Injector, inject, DOCUMENT, } from '@angular/core'; import {BrowserModule, withEventReplay, withIncrementalHydration} from '@angular/platform-browser'; import {renderModule, ServerModule} from '../index'; import {getHydrationInfoFromTransferState, ssr} from './hydration_utils'; import domino from '../third_party/domino/bundled-domino'; describe('transfer_state', () => { const defaultExpectedOutput = '