The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(dashboard): ChatSessionList test type-checks under tsc -b
Tekniumeb6a3886f123
diff --git a/web/src/components/ChatSessionList.test.tsx b/web/src/components/ChatSessionList.test.tsxindex c3ba7c9a285..f748db1a637 100644--- a/web/src/components/ChatSessionList.test.tsx+++ b/web/src/components/ChatSessionList.test.tsx@@ -7,7 +7,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import { ChatSessionList } from './ChatSessionList'-globalThis.IS_REACT_ACT_ENVIRONMENT = true+(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = trueconst { getSessions } = vi.hoisted(() => ({ getSessions: vi.fn() }))@@ -20,7 +20,7 @@ vi.mock('@nous-research/ui/ui/components/button', () => ({prefix,size,...props- }: React.ButtonHTMLAttributes<HTMLButtonElement>) => {+ }: React.ButtonHTMLAttributes<HTMLButtonElement> & { ghost?: boolean; outlined?: boolean; size?: string }) => {void ghostvoid outlinedvoid prefix