Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: make Ollama installer assertion portable on Windows

Adam Eivy29311abe55b9
diff --git a/server/services/localLlm.test.js b/server/services/localLlm.test.js
index 45aa31929d..a327b8b64d 100644
--- a/server/services/localLlm.test.js
+++ b/server/services/localLlm.test.js
@@ -655,7 +655,7 @@ describe('localLlm', () => {
try {
expect(await svc[action]('ollama')).toMatchObject({ success: true, backend: 'ollama' });
expect(cp.spawn.mock.calls[0][0]).toBe('bash');
- expect(cp.spawn.mock.calls[0][1]).toEqual([expect.stringMatching(/scripts\/install-ollama\.sh$/)]);
+ expect(cp.spawn.mock.calls[0][1]).toEqual([expect.stringContaining(path.join('scripts', 'install-ollama.sh'))]);
} finally {
restorePlatform();
}