Skip to content

The agent that grows with you

test(desktop): retire model catalog fixture jobs at teardown

Tekniumed6671db83c5
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 6e8e1494bf4..7c67285f6b4 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()
})