refactor(api_mock.ts): remove async from mockFetch to match signature
This commit is contained in:
@@ -29,7 +29,7 @@ export function mockFetch(
|
||||
_originalFetch = globalThis.fetch;
|
||||
_calls = [];
|
||||
|
||||
globalThis.fetch = async (
|
||||
globalThis.fetch = (
|
||||
input: string | URL | Request,
|
||||
init?: RequestInit,
|
||||
): Promise<Response> => {
|
||||
|
||||
Reference in New Issue
Block a user