From a01a800fc9a761df7877fc0ea21b9b84b0573921 Mon Sep 17 00:00:00 2001 From: brobert Date: Fri, 17 Oct 2025 10:56:30 +0200 Subject: [PATCH] =?UTF-8?q?test:=20adaptar=20aserci=C3=B3n=20para=20inclui?= =?UTF-8?q?r=20onboarding=5Fprompted=5Fat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openrouter/openai/gpt-5) --- tests/unit/services/group-sync.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 });