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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: match the extracted Ollama.app path on Windows separators too
[._.]/ Adam Eivycc95d178cea5
diff --git a/server/services/localLlm.test.js b/server/services/localLlm.test.jsindex c0d007db32..cd59c3c84b 100644--- a/server/services/localLlm.test.js+++ b/server/services/localLlm.test.js@@ -822,7 +822,11 @@ describe('localLlm', () => {// `pathExists(APP)` is the dispatch check that routed upgradeBackend here, so// it answers true independently of the in-memory model — which lets a test// exercise the bundle being gone by the time the rename runs.- pathExistsImpl.fn = async (p) => (p === APP ? true : p.endsWith('/Ollama.app') && extracted.present);+ // Separator-agnostic: the code under test builds the extracted bundle path+ // with `path.join`, which spells it `\Ollama.app` on Windows — a hard-coded+ // `/` made this fake report "no Ollama.app in the archive" there and turned+ // every assertion in this block into that one wrong error.+ pathExistsImpl.fn = async (p) => (p === APP ? true : /[\\/]Ollama\.app$/.test(p) && extracted.present);vi.stubGlobal('fetch', vi.fn(async (url) => {if (String(url).includes('api.github.com')) {return {