angular/packages/router/test
arturovt c7b6e1107c fix(router): prevent error handling when injector is destroyed (#59457)
In this commit, we prevent error handling when the root injector is already destroyed. This may happen when the observable completes before emitting a value, which would trigger a `catchError` block that attempts to call `runInInjectionContext` on a destroyed injector.

PR Close #59457
2025-01-23 14:21:07 -08:00
..
directives refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
operators refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +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: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
bootstrap.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
BUILD.bazel fix(router): Ensure title observable gets latest values (#51561) 2023-08-31 16:42:44 +00:00
computed_state_restoration.spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +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 refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
create_url_tree.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08: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): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
helpers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
integration.spec.ts fix(router): prevent error handling when injector is destroyed (#59457) 2025-01-23 14:21:07 -08:00
page_title_strategy_spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
recognize.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
regression_integration.spec.ts refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
router.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
router_devtools.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
router_link_active.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
router_link_spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
router_navigation_extras.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
router_preloader.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
router_scroller.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02: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(router): remove standalone true (#58950) 2024-12-05 16:02:37 -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 refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_transitions.spec.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00