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(gpu): der Backend-Mock kennt isMacOS, damit getSystemVRAM im Timeout-Test nicht still null liefert

purple46fe03c4a950
diff --git a/src/api/__tests__/comfyui-timeouts.test.ts b/src/api/__tests__/comfyui-timeouts.test.ts
index ed5235b5..e1a8d692 100644
--- a/src/api/__tests__/comfyui-timeouts.test.ts
+++ b/src/api/__tests__/comfyui-timeouts.test.ts
@@ -22,6 +22,7 @@ const localFetch = vi.fn()
vi.mock('../backend', () => ({
localFetch: (...a: unknown[]) => localFetch(...a),
comfyuiUrl: (p: string) => `http://localhost:8188${p}`,
+ isMacOS: () => false,
}))
import {