Skip to content

Commit 6664d3b

Browse files
committed
fix: test
1 parent cd9850a commit 6664d3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/integration-tests/test/request.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ guard(describe, polyfilledOrNative)('request', () => {
88
})
99

1010
test('parses and reconstructs the URL alone', () => {
11-
const url = 'https://vercel.com/foo/bar?one=value'
11+
const url = new URL('https://vercel.com/foo/bar?one=value')
1212
const req = new Request(url)
13-
expect(req.url).toEqual(url)
13+
expect(req.url.toString()).toEqual('https://vercel.com/foo/bar?one=value')
1414
})
1515

1616
test('throws when the URL is malformed', () => {

0 commit comments

Comments
 (0)