website refactor

This commit is contained in:
2026-01-17 00:03:47 +01:00
parent b8a9528ef3
commit 7686aeb62d
5 changed files with 32 additions and 31 deletions

View File

@@ -51,7 +51,7 @@ describe('InMemoryNotificationRepository', () => {
await repository.create(n2);
await repository.create(n3);
expect((await repository.findById('n1'))?.id).toBe('n1');
expect((await repository.findById('n1'))?.id.value).toBe('n1');
expect((await repository.findByRecipientId('driver-1')).length).toBe(2);
expect(await repository.countUnreadByRecipientId('driver-1')).toBe(2);