change toStrictEqual to toEqual for notification assertion

This commit is contained in:
2025-02-04 11:40:02 -08:00
parent e667e89556
commit fa40d15f5a

View File

@@ -65,7 +65,7 @@ describe("MutationResolvers", () => {
const notificationResponse = response.body.singleResult.data?.scheduleNotification as any;
expect(notificationResponse?.success).toBe(true);
expect(notificationResponse?.notification).toStrictEqual(notificationInput);
expect(notificationResponse?.data).toEqual(notificationInput);
expect(context.notificationService.isNotificationScheduled(notificationInput)).toBe(true);
});