chore: migrate oauth to repo (#13211)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { IOAuthRepository } from 'src/interfaces/oauth.interface';
|
||||
import { Mocked } from 'vitest';
|
||||
|
||||
export const newOAuthRepositoryMock = (): Mocked<IOAuthRepository> => {
|
||||
return {
|
||||
init: vitest.fn(),
|
||||
authorize: vitest.fn(),
|
||||
getLogoutEndpoint: vitest.fn(),
|
||||
getProfile: vitest.fn(),
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user