0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(core): remove legacy commented code (#3804)

This commit is contained in:
Darcy Ye 2023-05-04 10:42:16 +08:00 committed by GitHub
parent 0a803488ef
commit 5f4a323d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,13 +48,6 @@ const baseProviderMock = {
client_id: 'client_id', client_id: 'client_id',
}; };
// Const samlAssertionHandlerRoutes = await pickDefault(import('./authn/saml.js'));
// const tenantContext = new MockTenant(
// createMockProvider(jest.fn().mockResolvedValue(baseProviderMock)),
// undefined,
// { socials: socialsLibraries }
// );
const usersLibraries = { const usersLibraries = {
findUserRoles: jest.fn(async () => [mockRole]), findUserRoles: jest.fn(async () => [mockRole]),
} satisfies Partial<Libraries['users']>; } satisfies Partial<Libraries['users']>;