forked from Hacker0x01/react-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Improve code readability and maintainability
In this commit, I've mad the following enhancements to the code: 1. Split the test-cases and move the test-case for checking the aria-disabled attribute to a separate it block. 2. Changed the use of the magic number 4 to the length of the input array excludeTimes for better flexibility and maintainability. Closes Hacker0x01#4334
- Loading branch information
Balaji Sridharan
committed
Oct 21, 2023
1 parent
7ad0d20
commit 55ef1a7
Showing
1 changed file
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters