We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b51e8 commit 50d0f29Copy full SHA for 50d0f29
packages/typescript-client/test/integration.test.ts
@@ -64,7 +64,7 @@ describe(`HTTP Sync`, () => {
64
}) => {
65
const urlsRequested: URL[] = []
66
const fetchWrapper = (...args: Parameters<typeof fetch>) => {
67
- const url = new URL(args[0])
+ const url = new URL(args[0] instanceof Request ? args[0].url : args[0])
68
urlsRequested.push(url)
69
return fetch(...args)
70
}
0 commit comments