File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3824,11 +3824,13 @@ describe("DatePicker", () => {
38243824
38253825 headers . forEach ( ( header ) => {
38263826 // Should have an aria-label with the full weekday name
3827- const ariaLabel = header ?. getAttribute ( ' aria-label' ) ;
3827+ const ariaLabel = header ?. getAttribute ( " aria-label" ) ;
38283828 expect ( ariaLabel ?. length ) . toBeGreaterThan ( 2 ) ;
38293829
38303830 // Should have a visible short name
3831- const visible = header . querySelector ( '.react-datepicker__day-name > span[aria-hidden="true"]' ) ;
3831+ const visible = header . querySelector (
3832+ '.react-datepicker__day-name > span[aria-hidden="true"]' ,
3833+ ) ;
38323834 expect ( visible ) . toBeTruthy ( ) ;
38333835 expect ( visible ?. textContent ?. length ) . toBeLessThanOrEqual ( 3 ) ;
38343836 } ) ;
@@ -3848,7 +3850,7 @@ describe("DatePicker", () => {
38483850 expect ( weekNumberHeader ) . toBeTruthy ( ) ;
38493851
38503852 // Should have aria-label = "Week number"
3851- const ariaLabel = weekNumberHeader ?. getAttribute ( ' aria-label' ) ;
3853+ const ariaLabel = weekNumberHeader ?. getAttribute ( " aria-label" ) ;
38523854 expect ( ariaLabel ?. trim ( ) ?. toLowerCase ( ) ) . toEqual ( "week number" ) ;
38533855
38543856 // Should have a visible short name
You can’t perform that action at this time.
0 commit comments