Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with the isYearDisabled Test case in the date_utils_test.test.js module #4431

Closed
balajis-qb opened this issue Jan 2, 2024 · 0 comments · Fixed by qburst/react-datepicker-3#11 or #4432

Comments

@balajis-qb
Copy link

balajis-qb commented Jan 2, 2024

Describe the bug
Currently, the test case date_utils › isYearDisabled › should be disabled if in excluded dates is failing because of the data we used in the test case. We're excluding the date from the current year (2024), but expecting the year 2023 to be disabled, which is a bug in our Test case.

To Reproduce
Run the test case $yarn test

Expected behavior
The year should match with the date that we wish to disable.

Screenshots
image

balajis-qb pushed a commit to qburst/react-datepicker-3 that referenced this issue Jan 2, 2024
…Disabled test case

- Fixed date_utils › isYearDisabled › should be disabled if in excluded dates

Closes: Hacker0x01#4431
martijnrusschen added a commit that referenced this issue Jan 2, 2024
…clude-dates

Fix #4431: Update the excludedDate to match the year to check of the isYearDisabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant