Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

✅ test(store): add updatedAt to updateDocument mocks (#19849)

Innei784ea41eae5b
diff --git a/src/store/file/slices/document/action.test.ts b/src/store/file/slices/document/action.test.ts
index 12ad12b445c..0f9c26b8cc4 100644
--- a/src/store/file/slices/document/action.test.ts
+++ b/src/store/file/slices/document/action.test.ts
@@ -314,6 +314,7 @@ describe('DocumentAction', () => {
vi.mocked(documentService.updateDocument).mockResolvedValue({
historyAppended: false,
id: 'doc-1',
+ updatedAt: '2026-01-01T00:00:00.000Z',
});
act(() => {
@@ -346,6 +347,7 @@ describe('DocumentAction', () => {
vi.mocked(documentService.updateDocument).mockResolvedValue({
historyAppended: false,
id: 'doc-1',
+ updatedAt: '2026-01-01T00:00:00.000Z',
});
act(() => {