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 3d56b8f commit 3272854Copy full SHA for 3272854
test/client.test.ts
@@ -71,7 +71,7 @@ it('throws AbortError with message "Request was aborted" when timeout signal abo
71
const origThrowIfAborted = AbortSignal.prototype.throwIfAborted
72
// @ts-expect-error: Simulate environment without throwIfAborted for coverage
73
AbortSignal.prototype.throwIfAborted = undefined
74
- global.fetch = vi.fn().mockImplementation(async (input) => {
+ global.fetch = vi.fn().mockImplementation(async (_input) => {
75
throw new Error('fetch should not be called if signal is already aborted')
76
})
77
const client = createClient({
0 commit comments