You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In calendar_test.test.tsx file - the test block calls onMonthChange prop when month changed from month dropdown is failing as it's trying to call the current month (November). But in the month_dropdown.tsx we added a check to call onMonthChange if the newly selected month is not the currently selected month.
As you can see in the above test, we selected the November month which is the current month. As a result of it the test cases are failing.
To Reproduce
Simply run the test cases by executing yarn test
The text was updated successfully, but these errors were encountered:
Describe the bug
In
calendar_test.test.tsx file
- the test blockcalls onMonthChange prop when month changed from month dropdown
is failing as it's trying to call the current month (November). But in themonth_dropdown.tsx
we added a check to callonMonthChange
if the newly selected month is not the currently selected month.As you can see in the above test, we selected the November month which is the current month. As a result of it the test cases are failing.
To Reproduce
Simply run the test cases by executing
yarn test
The text was updated successfully, but these errors were encountered: