Skip to content

Commit

Permalink
Poll widget test fix (#2425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratheesh-aot authored Mar 21, 2024
1 parent 50999d4 commit fc09bc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('Poll Widget tests', () => {
expect(twoVotes.length).toBe(2);
expect(twoVotes[0]).toBeVisible();
expect(twoVotes[1]).toBeVisible();
expect(screen.getByText('0 votes')).toBeVisible();
expect(screen.getByText('0 vote')).toBeVisible();
expect(screen.getByText('0%')).toBeVisible();
const fiftyPercent = screen.getAllByText('50%');
expect(fiftyPercent.length).toBe(2);
Expand Down

0 comments on commit fc09bc6

Please sign in to comment.