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: unstub global fetch so jira suite mocks don't leak (#2235)
Adam Eivy4671b82bf476
diff --git a/server/services/jira.test.js b/server/services/jira.test.jsindex 7bbde90ede..6ff8943804 100644--- a/server/services/jira.test.js+++ b/server/services/jira.test.js@@ -35,7 +35,10 @@ describe('jiraAuthHeader', () => {describe('createJiraClient expired-token detection', () => {afterEach(() => {- vi.restoreAllMocks();+ // vi.stubGlobal is only reverted by unstubAllGlobals (restoreAllMocks won't+ // touch it unless unstubGlobals is set in vitest config), so the stubbed+ // fetch would otherwise leak into later suites in this file.+ vi.unstubAllGlobals();});// Helper: stub global fetch with a single response so createHttpClient's request()