import { IOAuthRepository } from 'src/types'; import { Mocked } from 'vitest'; export const newOAuthRepositoryMock = (): Mocked => { return { init: vitest.fn(), authorize: vitest.fn(), getLogoutEndpoint: vitest.fn(), getProfile: vitest.fn(), }; };