Skip to content

Commit

Permalink
Use arrayContaining
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbarry committed Jan 22, 2024
1 parent ec3477e commit 691e69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/__tests__/notifScheduler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 691e69d

Please sign in to comment.