Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.89k stars 2.23k forks source link

Fix #4934: ✅ Fix the broken test case in datepicker_test.test.js #4935

Closed balajis-qb closed 6 days ago

balajis-qb commented 6 days ago

Closes #4934

Pass the default date to the getOnInputKeyDownStuff to avoid switching to the next month view when the current date is in the last row of the current month

Contribution checklist

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.66%. Comparing base (c8c9f6f) to head (6efffd8). Report is 12 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4935 +/- ## ======================================= Coverage 96.66% 96.66% ======================================= Files 28 28 Lines 3264 3264 Branches 1343 1343 ======================================= Hits 3155 3155 Misses 109 109 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.