angular-cn/packages/router/test
Jason Aden f9497bf28b fix(router): adjust setting navigationTransition when a new navigation cancels an existing one (#29636)
Prior to this change, if a navigation was ongoing and a new one came in, the router could get into a state where `router.currentNavigation` was `null` even though a navigation was executing. This change moves where we set the `currentNavigation` value so it's inside a `switchMap`. This solves the problem because the `finally` on the `switchMap` had been setting `currentNavigation` to `null` but the new `currentNavigation` value would have already been set. Essentially this was a timing problem and is resolved with this change.

Fixes #29389 #29590

PR Close #29636
2019-04-01 12:11:55 -07:00
..
aot_ngsummary_test build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
operators
utils
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
apply_redirects.spec.ts
bootstrap.spec.ts refactor: move DOCUMENT imports from platform-browser to common (#29237) 2019-03-14 16:01:57 -04:00
config.spec.ts
create_router_state.spec.ts
create_url_tree.spec.ts
helpers.ts
integration.spec.ts fix(router): adjust setting navigationTransition when a new navigation cancels an existing one (#29636) 2019-04-01 12:11:55 -07:00
recognize.spec.ts
regression_integration.spec.ts
router.spec.ts
router_preloader.spec.ts fix(ivy): align NgModuleRef implementation between Ivy and ViewEngine (#27482) 2018-12-06 13:35:08 -08:00
router_scroller.spec.ts
router_state.spec.ts build(bazel): fix router test failure (#29375) 2019-03-19 23:39:37 -04:00
shared.spec.ts
spy_ng_module_factory_loader.spec.ts
url_serializer.spec.ts
url_tree.spec.ts