diff --git a/tests/unit/services/group-sync.test.ts b/tests/unit/services/group-sync.test.ts index 5e2bdcc..1e7f7e6 100644 --- a/tests/unit/services/group-sync.test.ts +++ b/tests/unit/services/group-sync.test.ts @@ -137,13 +137,14 @@ describe('GroupSyncService', () => { await GroupSyncService.syncGroups(); const group = testDb.query('SELECT * FROM groups WHERE id = ?').get('old-group'); - expect(group).toEqual({ + expect(group).toEqual(expect.objectContaining({ id: 'old-group', community_id: 'test-community', name: 'Old Group', active: 0, - last_verified: expect.any(String) - }); + last_verified: expect.any(String), + onboarding_prompted_at: null + })); expect(group.last_verified).not.toBe('2023-01-01'); // Should be updated });