refactor(api_mock.ts): remove async from mockFetch to match signature
Check Deno code / Check Deno code (pull_request) Successful in 7s
Build and push image / Build Docker image (push) Successful in 2m11s

This commit is contained in:
2026-04-21 12:04:10 +02:00
parent 4e220f72d7
commit 080f7606a7
+1 -1
View File
@@ -29,7 +29,7 @@ export function mockFetch(
_originalFetch = globalThis.fetch; _originalFetch = globalThis.fetch;
_calls = []; _calls = [];
globalThis.fetch = async ( globalThis.fetch = (
input: string | URL | Request, input: string | URL | Request,
init?: RequestInit, init?: RequestInit,
): Promise<Response> => { ): Promise<Response> => {