Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(desktop): restore file system spies between tests

Josuéc84a8bfa7d43
diff --git a/desktop-app/src/__tests__/chatStoreBinding.test.ts b/desktop-app/src/__tests__/chatStoreBinding.test.ts
index f31c44040..8a9b9f715 100644
--- a/desktop-app/src/__tests__/chatStoreBinding.test.ts
+++ b/desktop-app/src/__tests__/chatStoreBinding.test.ts
@@ -30,6 +30,7 @@ describe('chatStoreBinding', () => {
})
afterEach(async () => {
+ vi.restoreAllMocks()
unbindChatStore()
await fs.rm(tmpBase, { recursive: true, force: true })
})