Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

test: increase timeout for API_AUDIENCE and createOIDCProvider tests to 10 seconds

Innei06850694440e
diff --git a/src/libs/oidc-provider/provider.test.ts b/src/libs/oidc-provider/provider.test.ts
index 5eb5077430d..42683df03b7 100644
--- a/src/libs/oidc-provider/provider.test.ts
+++ b/src/libs/oidc-provider/provider.test.ts
@@ -70,7 +70,7 @@ describe('OIDC Provider - Market Client Integration', () => {
expect(module.API_AUDIENCE).toBe('urn:lobehub:chat');
vi.doUnmock('@/envs/app');
- });
+ }, 10000);
it('should have createOIDCProvider function', async () => {
vi.doMock('@/envs/app', () => ({
@@ -85,7 +85,7 @@ describe('OIDC Provider - Market Client Integration', () => {
expect(typeof module.createOIDCProvider).toBe('function');
vi.doUnmock('@/envs/app');
- });
+ }, 10000);
});
describe('Name Resolution Priority', () => {