swap toStrictEqual to toEqual for cancelNotification test

This commit is contained in:
2025-02-04 11:41:57 -08:00
parent 2b0bef876c
commit 4c4bd0fc4a

View File

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