Closed Calebgisa72 closed 5 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/entities/Notification.ts | 19 | 20 | 95.0% | ||
src/services/couponServices/buyerApplyCoupon.ts | 8 | 9 | 88.89% | ||
src/services/notificationServices/getNotifications.ts | 11 | 12 | 91.67% | ||
src/utils/sendNotification.ts | 26 | 27 | 96.3% | ||
src/services/notificationServices/deleteNotification.ts | 38 | 40 | 95.0% | ||
src/services/notificationServices/updateNotification.ts | 45 | 47 | 95.74% | ||
src/utils/getNotifications.ts | 9 | 11 | 81.82% | ||
src/services/orderServices/updateOrderService.ts | 7 | 10 | 70.0% | ||
<!-- | Total: | 242 | 255 | 94.9% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/startups/dbConnection.ts | 1 | 87.5% | ||
src/services/feedbackServices/createFeedback.ts | 1 | 73.68% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 9330313458: | 1.1% |
Covered Lines: | 2214 |
Relevant Lines: | 2583 |
What does this PR do? This PR introduces the in-app notifications feature with real-time functionality using Socket.io, enabling users to receive immediate updates about specific events as they occur within the application. The main functionalities include fetching all notifications for a user, deleting a notification, and sending notifications in real-time.
Description of Task: In-App Notifications Feature:
How should this be manually tested?