diff --git a/packages/vkui/src/components/Calendar/Calendar.tsx b/packages/vkui/src/components/Calendar/Calendar.tsx index b3eac576ae..93d767da77 100644 --- a/packages/vkui/src/components/Calendar/Calendar.tsx +++ b/packages/vkui/src/components/Calendar/Calendar.tsx @@ -137,6 +137,9 @@ export const Calendar = ({ renderDayContent, minDateTime, maxDateTime, + minutesTestId, + hoursTestId, + doneButtonTestId, prevMonthButtonTestId, nextMonthButtonTestId, monthDropdownTestId, @@ -274,6 +277,9 @@ export const Calendar = ({ changeHoursLabel={changeHoursLabel} changeMinutesLabel={changeMinutesLabel} isDayDisabled={minDateTime || maxDateTime ? isDayDisabled : undefined} + minutesTestId={minutesTestId} + hoursTestId={hoursTestId} + doneButtonTestId={doneButtonTestId} /> )} diff --git a/packages/vkui/src/components/DateInput/DateInput.test.tsx b/packages/vkui/src/components/DateInput/DateInput.test.tsx index 438f5b11bb..352eb9334f 100644 --- a/packages/vkui/src/components/DateInput/DateInput.test.tsx +++ b/packages/vkui/src/components/DateInput/DateInput.test.tsx @@ -111,8 +111,8 @@ describe('DateInput', () => { it('should call onChange with zero sec/ms', async () => { jest.useFakeTimers(); const onChange = jest.fn(); - const { container } = render(); - const inputLikes = getInputsLike(container); + render(); + const inputLikes = getInputsLike(); const [dates, months, years] = inputLikes;