angular/packages/router/test
Andrew Scott 1651908004
refactor(router): Add handler to NavigationInterceptOptions
This adds a handler to the `NavigationInterceptOptions` when we are
intercepting a `NavigateEvent`. This means that the scroll and focus
restoration will be delayed until the handler promise resolves. It also
means that we can provide better indication of an ongoing navigation
event.
2025-11-07 13:32:49 -08:00
..
directives Revert "feat(router): allow router outlet to be set on ng-container (#64562)" (#64584) 2025-10-22 16:35:38 +00:00
integration refactor(router): Build out integration with browser Navigation API (#64905) 2025-11-06 17:42:04 +00:00
operators test(router): Use autoTick feature in router tests (#62776) 2025-07-24 10:04:05 +00:00
utils refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
apply_redirects.spec.ts refactor(router): update route config loading to use async/await (#64322) 2025-10-13 09:58:10 -07:00
bootstrap.spec.ts fix(router): Update recognize stage to use internally async/await (#62994) 2025-08-29 08:55:13 -07:00
BUILD.bazel refactor(router): Intercept navigate events (unless it's a rollback) 2025-11-06 15:00:08 -08:00
computed_state_restoration.spec.ts refactor(router): Build out integration with browser Navigation API (#64905) 2025-11-06 17:42:04 +00:00
config.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
create_router_state.spec.ts fix(router): Update recognize stage to use internally async/await (#62994) 2025-08-29 08:55:13 -07:00
create_url_tree.spec.ts fix(router): Respect custom UrlSerializer handling of query parameters (#64449) 2025-10-20 18:42:56 +00:00
default_export_component.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
default_export_routes.ts refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54:05 +00:00
helpers.ts test(router): Use autoTick feature in router tests (#62776) 2025-07-24 10:04:05 +00:00
page_title_strategy_spec.ts test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07:00
recognize.spec.ts refactor(router): Update pre/post wildcard matching to retain 0 or more segment match meaning 2025-11-04 17:56:54 +00:00
regression_integration.spec.ts feat(router): add a currentNavigation signal to the Router service. (#63011) 2025-08-06 09:54:53 -07:00
router.spec.ts fix(router): Surface parse errors in Router.parseUrl (#64503) 2025-10-20 17:51:29 +00:00
router_devtools.spec.ts feat(devtools): clean up router tree for stable release (#63081) 2025-09-02 20:59:15 -07:00
router_link_active.spec.ts refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54:05 +00:00
router_link_spec.ts feat(core): Move zoneless change detection to dev preview (#60748) 2025-04-23 11:47:56 +02:00
router_navigation_extras.spec.ts refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54:05 +00:00
router_preloader.spec.ts test(router): Use autoTick feature in router tests (#62776) 2025-07-24 10:04:05 +00:00
router_scroller.spec.ts refactor(router): simplify imports and improve option access in RouterScroller tests 2025-11-06 09:42:41 -08:00
router_state.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
shared.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
standalone.spec.ts refactor: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
tsconfig-test.json refactor(router): Intercept navigate events (unless it's a rollback) 2025-11-06 15:00:08 -08:00
url_serializer.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
url_tree.spec.ts fix(router): handle parenthesized outlets without a name in DefaultUrlSerializer (#64507) 2025-10-23 12:33:57 +02:00
view_transitions.spec.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +00:00
with_platform_navigation.spec.ts refactor(router): Add handler to NavigationInterceptOptions 2025-11-07 13:32:49 -08:00