mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
12 lines
370 B
TypeScript
12 lines
370 B
TypeScript
import { mockEnvSet } from '#src/test-utils/env-set.js';
|
|
import { MockTenant } from '#src/test-utils/tenant.js';
|
|
|
|
import initOidc from './init.js';
|
|
|
|
describe('oidc provider init', () => {
|
|
it('init should not throw', async () => {
|
|
const { queries, libraries } = new MockTenant();
|
|
|
|
expect(() => initOidc(mockEnvSet, queries, libraries)).not.toThrow();
|
|
});
|
|
});
|