Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

test(workspace): lastFolder is string | undefined, not null (tsc -b)

purple5a7df1ce6132
diff --git a/src/components/chat/__tests__/der-hauptordner-laesst-sich-wechseln.test.tsx b/src/components/chat/__tests__/der-hauptordner-laesst-sich-wechseln.test.tsx
index eb7e3a2d..62d9b721 100644
--- a/src/components/chat/__tests__/der-hauptordner-laesst-sich-wechseln.test.tsx
+++ b/src/components/chat/__tests__/der-hauptordner-laesst-sich-wechseln.test.tsx
@@ -33,7 +33,7 @@ const C = 'D:\\code\\other'
beforeEach(() => {
cleanup()
call.mockReset()
- useAgentModeStore.setState({ lastFolder: null, workspaces: {} })
+ useAgentModeStore.setState({ lastFolder: undefined, workspaces: {} })
})
function openOn(initial: AgentWorkspace) {