From ed6671db83c55998ed48bd995a4494ef5c84c23b Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 8 Sep 2026 14:05:48 -0700 Subject: [PATCH] test(desktop): retire model catalog fixture jobs at teardown --- apps/desktop/src/app/shell/model-catalog-menu.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/desktop/src/app/shell/model-catalog-menu.test.tsx b/apps/desktop/src/app/shell/model-catalog-menu.test.tsx index 6e8e1494bf..7c67285f6b 100644 --- a/apps/desktop/src/app/shell/model-catalog-menu.test.tsx +++ b/apps/desktop/src/app/shell/model-catalog-menu.test.tsx @@ -52,6 +52,9 @@ beforeEach(() => { afterEach(() => { cleanup() + // The backend mock echoes this snapshot; retire fixture jobs before jsdom + // disappears so an in-flight app-level poll cannot schedule another tick. + $localRuntimeJobs.set([]) vi.clearAllMocks() })