Skip to content

Commit

Permalink
Merge pull request #918 from PalisadoesFoundation/develop
Browse files Browse the repository at this point in the history
fix in failing test (#913)
  • Loading branch information
anwersayeed authored Jun 2, 2023
2 parents e22b3cb + da669e2 commit b74756b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/EventCalendar/EventCalendar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ describe('Calendar', () => {
expect(getByText(`${currentMonth} ${currentYear}`)).toBeInTheDocument();
});

it('should render the correct number of days', () => {
const { getAllByTestId } = render(<Calendar eventData={eventData} />);
const days = getAllByTestId('day');
expect(days.length).toBe(42);
});

it('should highlight the selected date when clicked', () => {
const { getByText } = render(<Calendar eventData={eventData} />);
const selectedDate = getByText('15');
Expand Down

0 comments on commit b74756b

Please sign in to comment.