The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: load settings before starting autosave fake timers
Teknium62ab5fcd58a9
diff --git a/apps/desktop/src/app/settings/config-settings.test.tsx b/apps/desktop/src/app/settings/config-settings.test.tsxindex 3b388d1cd37..e6c61996a47 100644--- a/apps/desktop/src/app/settings/config-settings.test.tsx+++ b/apps/desktop/src/app/settings/config-settings.test.tsx@@ -5,6 +5,8 @@ import { createRef } from 'react'import { MemoryRouter } from 'react-router'import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'+import { ConfigSettings } from './config-settings'+const getHermesConfigRecord = vi.fn()const getHermesConfigSchema = vi.fn()const saveHermesConfig = vi.fn()@@ -47,8 +49,7 @@ afterEach(() => {vi.clearAllMocks()})-async function renderConfigSettings() {- const { ConfigSettings } = await import('./config-settings')+function renderConfigSettings() {const client = new QueryClient({ defaultOptions: { queries: { retry: false } } })const importInputRef = createRef<HTMLInputElement>()