diff --git a/frontend/src/api/common/api-request-builder/test-utils/expect-fetch.ts b/frontend/src/api/common/api-request-builder/test-utils/expect-fetch.ts index b671c0a88..b9f2cad7c 100644 --- a/frontend/src/api/common/api-request-builder/test-utils/expect-fetch.ts +++ b/frontend/src/api/common/api-request-builder/test-utils/expect-fetch.ts @@ -35,7 +35,7 @@ export const expectFetch = ( json: jest.fn(() => (responseBody ? Promise.resolve(responseBody) : Promise.reject())) }) ) - }) + }) as typeof global.fetch } const mapCodeToText = (code: number): string => { switch (code) {