mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add rest of first test
This commit is contained in:
@@ -252,11 +252,10 @@ describe("NotificationService", () => {
|
|||||||
await notificationService.scheduleNotification(notificationData2);
|
await notificationService.scheduleNotification(notificationData2);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
|
const notifications = await notificationService.getAllScheduledNotificationsForDevice(notificationData1.deviceId);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
|
expect(notifications.length).toBe(2);
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("returns an empty array if there are no notifications", async () => {
|
it("returns an empty array if there are no notifications", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user