Skip to content

Commit

Permalink
fix in failing test (PalisadoesFoundation#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
aashimawadhwa authored May 14, 2023
1 parent e22b3cb commit da669e2
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 da669e2

Please sign in to comment.