🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✅ test(quota): wait for the stored snapshot to render (#21363)
Bryan4c5e9ad359c4
diff --git a/src/features/ChatInput/ControlBar/HeteroControlBar/QuotaMenu/QuotaMenu.test.tsx b/src/features/ChatInput/ControlBar/HeteroControlBar/QuotaMenu/QuotaMenu.test.tsxindex d833a3e33a0..2b322db2982 100644--- a/src/features/ChatInput/ControlBar/HeteroControlBar/QuotaMenu/QuotaMenu.test.tsx+++ b/src/features/ChatInput/ControlBar/HeteroControlBar/QuotaMenu/QuotaMenu.test.tsx@@ -943,7 +943,7 @@ describe('ClaudeCodeQuotaMenu', () => {await waitFor(() => expect(mockLambdaClaudeQuota).toHaveBeenCalled());await waitForQuotaIdle();- expect(screen.getAllByText('92%').length).toBeGreaterThan(0);+ await waitFor(() => expect(screen.getAllByText('92%').length).toBeGreaterThan(0));expect(screen.queryByText('heteroAgent.quota.unavailable')).toBeNull();expect(await storage.get(row)).toMatchObject({ data: { status: 'ok' } });});