Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix(chat): type the timestamp test user fixture

wizardchen3505a58c37bc
diff --git a/frontend/src/utils/messageTimestamp.test.ts b/frontend/src/utils/messageTimestamp.test.ts
index fabcbcd62..dc498babf 100644
--- a/frontend/src/utils/messageTimestamp.test.ts
+++ b/frontend/src/utils/messageTimestamp.test.ts
@@ -84,7 +84,10 @@ test('formatMessageTimestamp converts a UTC string into local wall time', () =>
})
test('bindServerTurnTimestamps replaces local fallbacks with persisted server times', () => {
- const user = { role: 'user', created_at: '2026-01-02T03:04:05.000Z' }
+ const user: { role: string; created_at: string; id?: string } = {
+ role: 'user',
+ created_at: '2026-01-02T03:04:05.000Z',
+ }
const assistant = { role: 'assistant', created_at: '2026-01-02T03:04:06.000Z' }
bindServerTurnTimestamps(