Skip to content

Commit fca291b

Browse files
committed
test(mothership): clarify test name to reflect that getActiveChatStreamIds is called with empty candidateIds
1 parent 66fca0f commit fca291b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/api/mothership/chats/route.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe('GET /api/mothership/chats', () => {
120120
])
121121
})
122122

123-
it('skips the reconciliation lookup when no chat has a stream marker set', async () => {
123+
it('issues no Redis MGET when no chat has a stream marker set (empty candidateIds)', async () => {
124124
const now = new Date('2026-05-11T12:00:00Z')
125125
mockOrderBy.mockResolvedValueOnce([
126126
{ id: 'chat-1', title: null, updatedAt: now, activeStreamId: null, lastSeenAt: null },

0 commit comments

Comments
 (0)