mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
change toStrictEqual to toEqual for notification assertion
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user