From 7946918ec69545527904751a840b813c03c8473a Mon Sep 17 00:00:00 2001 From: Patrick Wolfert Date: Thu, 19 Oct 2023 10:50:33 -0700 Subject: [PATCH] And update the unit test --- .../src/components/DateField/SingleInputDateField.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/design-system/src/components/DateField/SingleInputDateField.test.tsx b/packages/design-system/src/components/DateField/SingleInputDateField.test.tsx index a2e47dfdfb..76e2582eb8 100644 --- a/packages/design-system/src/components/DateField/SingleInputDateField.test.tsx +++ b/packages/design-system/src/components/DateField/SingleInputDateField.test.tsx @@ -102,7 +102,7 @@ describe('SingleInputDateField', function () { const button = screen.getByRole('button'); expect(button).toBeInTheDocument(); expect(button).toHaveClass('ds-c-single-input-date-field__button'); - expect(button).toHaveAttribute('aria-describedby', `${label.id} ${hint.id}`); + expect(button).toHaveAttribute('aria-describedby', `${label.id}`); expect(button.firstElementChild.tagName).toBe('svg'); expect(button.firstElementChild.classList).toContain('ds-c-icon--calendar');