We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3244c commit f38f68bCopy full SHA for f38f68b
packages/carbon-component-mapper/src/tests/time-picker.test.js
@@ -71,7 +71,7 @@ describe('TimePicker', () => {
71
fireEvent.focusOut(screen.getByPlaceholderText('hh:mm'));
72
await userEvent.click(screen.getByText('Submit'));
73
74
- expect(screen.getByPlaceholderText('hh:mm')).toHaveValue('24:00');
+ expect(screen.getByPlaceholderText('hh:mm')).toHaveValue('00:00');
75
expect(onSubmit.mock.calls[0][0]['time-picker'].getHours()).toEqual(0);
76
expect(onSubmit.mock.calls[0][0]['time-picker'].getMinutes()).toEqual(0);
77
});
0 commit comments