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