Skip to content

Commit

Permalink
Fixed announcement test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryan1203 committed Jan 19, 2025
1 parent e790ea5 commit 34203c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/tests/unmocked/announcements.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ describe('Announcemnts Tests', () => {
);

expect(announcements).toHaveLength(2);
expect(announcements[0].text).toBe('test1');
expect(announcements[1].text).toBe('test2');
expect(announcements.some((announcement) => announcement.text === 'test1')).toBe(true);
expect(announcements.some((announcement) => announcement.text === 'test2')).toBe(true);

const updatedAnnouncements = await AnnouncementService.removeUserAnnouncement(
testBatman.userId,
Expand Down

0 comments on commit 34203c7

Please sign in to comment.