This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: resolve type errors in notification repository integration test

Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>

+3 -2
+3 -2
src/modules/notifications/tests/infrastructure/DrizzleNotificationRepository.findByRecipientEnriched.integration.test.ts
··· 26 26 import { UrlMetadata } from '../../../cards/domain/value-objects/UrlMetadata'; 27 27 import { createTestSchema } from '../../../cards/tests/test-utils/createTestSchema'; 28 28 import { Notification } from '../../domain/Notification'; 29 - import { NotificationType } from '../../domain/value-objects/NotificationType'; 29 + import { NotificationType, NotificationTypeEnum } from '../../domain/value-objects/NotificationType'; 30 + import { UrlType } from '../../../cards/domain/value-objects/UrlType'; 30 31 31 32 describe('DrizzleNotificationRepository - findByRecipientEnriched', () => { 32 33 let container: StartedPostgreSqlContainer; ··· 109 110 publishedDate: new Date('2024-01-15'), 110 111 siteName: 'Example Site', 111 112 imageUrl: 'https://example.com/image.jpg', 112 - type: 'article', 113 + type: UrlType.ARTICLE, 113 114 doi: '10.1000/test', 114 115 isbn: '978-0123456789', 115 116 }).unwrap();