mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Update test
This commit is contained in:
parent
474b6f00c5
commit
32f63ab116
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ function test_parent() {
|
|||
]
|
||||
|
||||
for (let [url, exp_parent] of cases) {
|
||||
let parent = UrlUtil.getUrlParent(new URL(url))
|
||||
let parent = UrlUtil.getUrlParent(new URL(url), true)
|
||||
|
||||
test(`parent of ${url} --> ${exp_parent}`, () =>
|
||||
expect(parent ? parent.href : parent).toEqual(exp_parent))
|
||||
|
|
Loading…
Add table
Reference in a new issue