diff --git a/test/services/NotificationServiceTests.test.ts b/test/services/NotificationServiceTests.test.ts index 85744b2..d7ecefa 100644 --- a/test/services/NotificationServiceTests.test.ts +++ b/test/services/NotificationServiceTests.test.ts @@ -252,11 +252,10 @@ describe("NotificationService", () => { await notificationService.scheduleNotification(notificationData2); // Act + const notifications = await notificationService.getAllScheduledNotificationsForDevice(notificationData1.deviceId); // Assert - - - + expect(notifications.length).toBe(2); }); it("returns an empty array if there are no notifications", async () => {