🧪 ci: Fix Conversation Grouping Tests

This commit is contained in:
Danny Avila 2024-02-11 08:46:14 -05:00 committed by GitHub
parent d2494e6b3b
commit 50adb1b3c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 82 additions and 153 deletions

View file

@ -152,7 +152,7 @@ describe('Conversation Utilities with Fake Data', () => {
const allConversations = pages.flatMap((p) => p.conversations);
const grouped = groupConversationsByDate(allConversations);
expect(grouped).toHaveLength(2);
expect(grouped).toHaveLength(1);
expect(grouped[0][1]).toBeInstanceOf(Array);
});
});