Skip to content

Commit

Permalink
fix: Url utils coverage (#22994)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Jun 27, 2023
1 parent ef6f0c7 commit 89c9691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/url.spec.ts
Expand Up @@ -90,6 +90,7 @@ describe('util/url', () => {
${'http://foo.io'} | ${'aaa/?bbb=z'} | ${'http://foo.io/aaa?bbb=z'}
`('replaceUrlPath("$baseUrl", "$x") => $result', ({ baseUrl, x, result }) => {
expect(replaceUrlPath(baseUrl, x)).toBe(result);
expect(replaceUrlPath(new URL(baseUrl), x)).toBe(result);
});

it('getQueryString', () => {
Expand Down

0 comments on commit 89c9691

Please sign in to comment.