angular/packages/platform-server/test
Andrew Scott 5b53535dd1 fix(router): Update recognize stage to use internally async/await (#62994)
This is effectively a revert of 72e6a948bb.
Debugging the recognize stage is considerably easier with async/await
stacks compared to rxjs. This also improves maintainability and is a
better 1:1 with server-side logic that has been implemented to match
and can be more easily kept in sync.

This also ensures that the recognize step is always async, whereas it
can sometimes be synchronous with rxjs.

BREAKING CHANGE: Router navigations may take several additional
microtasks to complete. Tests have been found to often be highly
dependent on the exact timing of navigation completions with respect to
the microtask queue. The most common fix for tests is to ensure all
navigations have been completed before making assertions. On rare
occasions, this can also affect production applications. This can be
caused by multiple subscriptions to router state throughout the application,
both of which trigger navigations that happened to not conflict with the
previous timing.

PR Close #62994
2025-08-29 08:55:13 -07:00
..
BUILD.bazel refactor(bazel): reduce build deps (#63348) 2025-08-28 09:16:10 -07:00
dom_utils.ts fix(core): Ensure application remains unstable during bootstrap (#62631) 2025-07-15 07:52:36 -07:00
event_replay_spec.ts build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
full_app_hydration_spec.ts fix(core): Fixes template outlet hydration (#61989) 2025-06-12 12:53:21 +02:00
hydration_utils.ts refactor(core): add a getTransferState for the devtools (#62722) 2025-07-21 17:00:27 -04:00
incremental_hydration_spec.ts fix(router): Update recognize stage to use internally async/await (#62994) 2025-08-29 08:55:13 -07:00
integration_spec.ts build: migrate platform-server to rules_js (#61589) 2025-05-22 11:35:55 -07:00
render_spec.ts feat(core): render ARIA property bindings as attributes (#62630) 2025-07-22 06:59:00 -04:00
transfer_state_spec.ts refactor(core): add a getTransferState for the devtools (#62722) 2025-07-21 17:00:27 -04:00