From 080f7606a78e19115c1b8ae787bc683c04be2a52 Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Tue, 21 Apr 2026 12:04:10 +0200 Subject: [PATCH] refactor(api_mock.ts): remove async from mockFetch to match signature --- tests/helpers/api_mock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/api_mock.ts b/tests/helpers/api_mock.ts index 26db188..0f8af47 100644 --- a/tests/helpers/api_mock.ts +++ b/tests/helpers/api_mock.ts @@ -29,7 +29,7 @@ export function mockFetch( _originalFetch = globalThis.fetch; _calls = []; - globalThis.fetch = async ( + globalThis.fetch = ( input: string | URL | Request, init?: RequestInit, ): Promise => {