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: assert the typed cancel code on the external-abort LoRA download test
[._.]/ Adam Eivyd8b631410d1a
diff --git a/server/services/loras.test.js b/server/services/loras.test.jsindex 6f5810def0..537d1f9173 100644--- a/server/services/loras.test.js+++ b/server/services/loras.test.js@@ -1022,7 +1022,9 @@ describe('installFromHuggingface', () => {expect(sawSignal.aborted).toBe(false);controller.abort();expect(sawSignal.aborted).toBe(true);- await expect(install).rejects.toThrow(/cancel/i);+ const err = await install.catch((e) => e);+ expect(err.message).toMatch(/cancel/i);+ expect(err.code).toBe('LORA_DOWNLOAD_CANCELLED');});it('refuses a second install of the same destination while the first is still downloading', async () => {