angular/packages/router/test
Andrew Scott 9833d9ea47 feat(router): Run loadComponent and loadChildren functions in the route's injection context (#62133)
This updates the loader code to run the `loadComponent` and
`loadChildren` functions in the appropriate injection context for the
route.

A primary motiviation for this feature is to bring `loadChildren` with
standalone components and the routes array to
feature-parity with what was possible when using `loadChildren` and a
module that provided routes via the `ROUTES` token and a factory
function (which would have injection context).

fixes #51532

PR Close #62133
2025-06-24 09:39:48 +00:00
..
directives test(router): Reduce timeout times (#61155) 2025-05-07 11:16:26 -07:00
integration test(router): Add test for empty path redirect and no match (#62176) 2025-06-23 14:18:12 +02:00
operators refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54: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 test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07:00
bootstrap.spec.ts refactor(platform-browser): replace platform-browser-dynamic with platform-browser (#61498) 2025-05-21 14:01:49 +00:00
BUILD.bazel build: migrate to using new jasmine_test (#62086) 2025-06-18 08:27:26 +02:00
computed_state_restoration.spec.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +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 test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07:00
create_url_tree.spec.ts test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07: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): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07: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 test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07:00
regression_integration.spec.ts test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07:00
router.spec.ts refactor(router): Remove inject helper from router tests (#61046) 2025-04-29 21:56:01 -07:00
router_devtools.spec.ts test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -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): Update timeouts to reduce firefox flakiness (#62141) 2025-06-20 14:39:35 -07:00
router_scroller.spec.ts test(router): This commit removes ZoneJS from the router tests (#61078) 2025-05-05 08:55:01 -07: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 feat(router): Run loadComponent and loadChildren functions in the route's injection context (#62133) 2025-06-24 09:39:48 +00: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 build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +00:00