fix: cast vi.fn() mock to satisfy bun-types fetch type (#571)
This commit is contained in:
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user