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([med-pipeline-server-services-pipeline-arcplanner]): add afterEach restoreAllMocks for spy cleanup safety
[._.]/ Adam Eivy3445d96110c2
diff --git a/server/lib/storyArc.test.js b/server/lib/storyArc.test.jsindex 3c8fe27db5..11df8fa61e 100644--- a/server/lib/storyArc.test.js+++ b/server/lib/storyArc.test.js@@ -1,4 +1,8 @@-import { describe, it, expect, vi } from 'vitest';+import { describe, it, expect, vi, afterEach } from 'vitest';++afterEach(() => {+ vi.restoreAllMocks();+});let uuidCounter = 0;vi.mock('crypto', async () => {