Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Tests: the model folder check uses a POSIX folder name

Adarsh57cb932ef455
diff --git a/tests/worker-program.test.ts b/tests/worker-program.test.ts
index fc818095..6c8b9002 100644
--- a/tests/worker-program.test.ts
+++ b/tests/worker-program.test.ts
@@ -67,9 +67,9 @@ describe("the GPU check (check 11)", () => {
expect(localPause({ paused: true, now: true }, free, null, 0)?.why).toBe("here-now");
expect(localPause({ paused: false }, free, "port-busy", 0)).toEqual({ paused: true, why: "port-busy", until: null });
// A model folder that isn't there yet: after a pause by hand and a busy GPU, before its ComfyUI's trouble.
- expect(localPause({ paused: false }, free, "port-busy", 0, ["X:/models"])).toEqual({ paused: true, why: "models-not-ready", until: null });
- expect(localPause({ paused: false }, { paused: true, who: "game.exe" }, null, 0, ["X:/models"])?.why).toBe("gpu-busy:game.exe");
- expect(localPause({ paused: true }, free, null, 0, ["X:/models"])?.why).toBe("here");
+ expect(localPause({ paused: false }, free, "port-busy", 0, ["/mnt/models"])).toEqual({ paused: true, why: "models-not-ready", until: null });
+ expect(localPause({ paused: false }, { paused: true, who: "game.exe" }, null, 0, ["/mnt/models"])?.why).toBe("gpu-busy:game.exe");
+ expect(localPause({ paused: true }, free, null, 0, ["/mnt/models"])?.why).toBe("here");
expect(localPause({ paused: false }, free, null, 0, [])).toEqual({ paused: false, why: null, until: null });
});