angular/packages/router/test
unknown f44cb57c12 fix(router): prevent componentless routes from being detached (#44240)
Currently, when deactivating a route, the detach method of the RouteReuseStrategy is always called
even when we are dealing with a componentless route. If when using a custom strategy we attempt to
detach a componentless route, an exception is thrown causing the navigation to break.
This change prevents this from happening, by not triggering the detach of the route reuse strategy.

Fixes #44239

PR Close #44240
2021-11-23 17:12:27 +00:00
..
aot_ngsummary_test build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
operators fix(router): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
utils build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
apply_redirects.spec.ts test(router): refactor tests to not use deprecated loadChildren (#43578) 2021-09-29 11:14:07 -07:00
bootstrap.spec.ts refactor(service-worker): switch to the official TypeScript typings (#42736) 2021-07-08 10:28:22 -07:00
BUILD.bazel test(router): fix router test failing on IE (#36742) 2020-04-23 12:13:27 -04:00
computed_state_restoration.spec.ts fix(router): fix Router's public API for canceledNavigationResolution (#43842) 2021-10-15 11:35:01 -07:00
config.spec.ts test(router): refactor tests to not use deprecated loadChildren (#43578) 2021-09-29 11:14:07 -07:00
create_router_state.spec.ts fix(router): Only retrieve stored route when reuse strategy indicates it should reattach (#30263) 2021-04-15 11:32:59 -07:00
create_url_tree.spec.ts fix(router): fix serializeQueryParams logic (#42481) 2021-06-08 10:43:00 -07:00
helpers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
integration.spec.ts fix(router): prevent componentless routes from being detached (#44240) 2021-11-23 17:12:27 +00:00
recognize.spec.ts fix(router): recursively merge empty path matches (#41584) 2021-04-14 15:47:07 -07:00
regression_integration.spec.ts test(router): Add tests to document expected behavior (#43449) 2021-09-14 11:11:08 -07:00
router.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_link_spec.ts fix(router): null/undefined routerLink should disable navigation (#43087) 2021-08-20 12:51:09 -07:00
router_preloader.spec.ts refactor(router): remove support for loadChildren string syntax (#43591) 2021-09-29 14:45:18 -07:00
router_scroller.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
router_state.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
shared.spec.ts fix(router): fix error when calling ParamMap.get function (#31599) 2020-06-25 11:57:24 -07:00
url_serializer.spec.ts fix(router): fragment can be null (#37336) 2021-03-22 10:02:39 -07:00
url_tree.spec.ts fix(router): Allow question marks in query param values (#31187) 2021-08-06 10:49:37 -07:00