Skip to content

Commit 87814d9

Browse files
committed
run prettier
1 parent 03134ef commit 87814d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/test/datepicker_test.test.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)