diff --git a/apps/admin/src/__tests__/mocks/mockDefaultPlatform.ts b/apps/admin/src/__tests__/mocks/mockDefaultPlatform.ts index 807bbb88..25cc71fd 100644 --- a/apps/admin/src/__tests__/mocks/mockDefaultPlatform.ts +++ b/apps/admin/src/__tests__/mocks/mockDefaultPlatform.ts @@ -1,10 +1,14 @@ import {vi} from 'vitest'; +import {type GlobalAdminContext} from '../../types'; -export const mockDefaultPlatform = vi.fn(() => ({ - backofficeUrl: 'https://backoffice.test.myparcel.nl', - defaultCarrier: 'postnl', - defaultCarrierId: 1, - human: 'Test', - localCountry: 'NL', - name: 'test', -})); +export const mockDefaultPlatform = vi.fn((): GlobalAdminContext['platform'] => { + return { + backofficeUrl: 'https://backoffice.test.myparcel.nl', + defaultCarrier: 'postnl', + defaultCarrierId: 1, + human: 'Test', + localCountry: 'NL', + name: 'test', + supportUrl: 'https://developer.myparcel.nl/contact', + }; +});