fix: cast vi.fn() mock to satisfy bun-types fetch type (#571)

This commit is contained in:
Cameron
2026-03-11 20:13:05 -07:00
committed by GitHub
parent d25da06852
commit 593b28892c

View File

@@ -24,7 +24,7 @@ describe('BlueskyAdapter', () => {
const originalFetch = globalThis.fetch; const originalFetch = globalThis.fetch;
beforeEach(() => { beforeEach(() => {
globalThis.fetch = vi.fn(); globalThis.fetch = vi.fn() as unknown as typeof fetch;
}); });
afterEach(() => { afterEach(() => {