fix(router): take base uri into account in setUpLocationSync()
(#20244)
Normalize the full URL (including the base uri) before passing it to `router.navigateByUrl()`. Fixes #20061 PR Close #20244
This commit is contained in:

committed by
Kara Erickson

parent
97b5cb2e3b
commit
ba1e25f53f
21
packages/router/upgrade/test/BUILD.bazel
Normal file
21
packages/router/upgrade/test/BUILD.bazel
Normal file
@ -0,0 +1,21 @@
|
||||
load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
|
||||
|
||||
ts_library(
|
||||
name = "test_lib",
|
||||
testonly = 1,
|
||||
srcs = glob(["**/*.ts"]),
|
||||
deps = [
|
||||
"//packages/common",
|
||||
"//packages/core/testing",
|
||||
"//packages/router",
|
||||
"//packages/router/upgrade",
|
||||
"//packages/upgrade/static",
|
||||
],
|
||||
)
|
||||
|
||||
ts_web_test_suite(
|
||||
name = "test_web",
|
||||
deps = [
|
||||
":test_lib",
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user