angular/packages/platform-server/test
arturovt 79ae35577e fix(core): check whether application is destroyed before initializing event replay (#59789)
In this commit, we check whether the application is destroyed before initializing event replay. The application may be destroyed before it becomes stable, so when the `whenStable` resolves, the injector might already be in a destroyed state. As a result, calling `injector.get` would throw an error indicating that the injector has already been destroyed.

PR Close #59789
2025-03-05 14:43:47 -08:00
..
BUILD.bazel refactor(core): clean up event replay tests (#60130) 2025-02-28 16:30:27 +00:00
dom_utils.ts test(platform-server): fix flaky hydration test (#59579) 2025-01-17 10:30:51 +01:00
event_replay_spec.ts fix(core): check whether application is destroyed before initializing event replay (#59789) 2025-03-05 14:43:47 -08:00
full_app_hydration_spec.ts fix(core): Defer afterRender until after first CD (#59455) (#59551) 2025-02-12 12:20:04 -08:00
hydration_utils.ts docs: update license URL from angular.io to angular.dev and year of license to 2025 (#59407) 2025-01-09 10:27:54 -05:00
incremental_hydration_spec.ts refactor(core): clean up when blocks fail to fetch or hydrate (#59740) 2025-02-21 11:08:03 -05:00
integration_spec.ts test(core): update tests that were relying on implicit animations module (#59762) 2025-01-29 10:52:18 -08:00
transfer_state_spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00