diff --git a/www/__tests__/notifScheduler.test.ts b/www/__tests__/notifScheduler.test.ts index 30708a649..c3f5f60b2 100644 --- a/www/__tests__/notifScheduler.test.ts +++ b/www/__tests__/notifScheduler.test.ts @@ -274,7 +274,7 @@ describe('updateScheduledNotifs', () => { await updateScheduledNotifs(reminderSchemes, isScheduling, setIsScheduling, scheduledPromise); const scheduledNotifs = await getScheduledNotifs(isScheduling, scheduledPromise); - expect(scheduledNotifs).toEqual(expectedResultcheduleNotifs); + expect(scheduledNotifs).toEqual(expect.arrayContaining(expectedResultcheduleNotifs)); }); it('should resolve without scheduling if notifications are already scheduled', async () => {