From b4f1f1b87d9a8eed810e09206c8e5ad1986d1204 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 12 Feb 2025 19:33:55 -0800 Subject: [PATCH] add rest of first test --- test/services/NotificationServiceTests.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 () => {