angular/packages/platform-server/test
Andrew Kushnir 7f6f5f95ea refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834)
This commit removes a custom `whenStable` util in favor of standard `ApplicationRef.whenStable` API.

There is also an important different between the custom `whenStable` function and `ApplicationRef.whenStable` implementation: the `whenStable` was caching the "stable" promise on per-ApplicationRef basis, which resulted in unexpected behavior with zoneless, when some code ended up getting a stale resolved promise, when an application was not stable yet, this causing order of operations issues. This commit also has an extra test that covers that case.

PR Close #58834
2024-11-25 15:25:10 +00:00
..
BUILD.bazel refactor(core): restructure hydration test files (#58196) 2024-10-14 14:26:26 -07:00
dom_utils.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
event_replay_spec.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
full_app_hydration_spec.ts refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834) 2024-11-25 15:25:10 +00:00
hydration_utils.ts test(platform-server): fix issue with ngServerMode when focusing fit tests (#58538) 2024-11-07 14:29:59 +00:00
incremental_hydration_spec.ts refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834) 2024-11-25 15:25:10 +00:00
integration_spec.ts refactor(core): use ApplicationRef.whenStable instead of a custom util function (#58834) 2024-11-25 15:25:10 +00: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