refactor(api_mock.ts): remove async from mockFetch to match signature

This commit was merged in pull request #58.
This commit is contained in:
2026-04-21 12:04:10 +02:00
committed by djalim
parent 4211df32a8
commit ce5acacca6
+1 -1
View File
@@ -29,7 +29,7 @@ export function mockFetch(
_originalFetch = globalThis.fetch;
_calls = [];
globalThis.fetch = async (
globalThis.fetch = (
input: string | URL | Request,
init?: RequestInit,
): Promise<Response> => {