(key: string, upstreamPlanId = `minimax-plan-${crypto.randomUUID()}`)
| 30 | jest.mock('@/lib/coding-plans/byteplus-usage', () => ({ |
| 31 | getBytePlusUsage: jest.fn(), |
| 32 | })); |
| 33 | jest.mock('ai', () => ({ |
| 34 | createGateway: jest.fn(() => jest.fn((modelId: string) => ({ modelId }))), |
| 35 | generateText: jest.fn(), |
| 36 | })); |
| 37 | jest.mock('@/lib/redis', () => ({ |
no outgoing calls
no test coverage detected