Skip to content

Commit

Permalink
remove leading 0 from timepicker tests (#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnC-80 authored Jan 4, 2024
1 parent f45e806 commit bffed23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Timepicker/tests/Timepicker-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ describe('Timepicker', () => {
/>
);

await timepicker.fillIn('05:00 P');
await timepicker.fillIn('5:00 P');
});

it('emits an event with the time accounting for timezone', () => HTML({ id: 'state-time', text: testTime }).exists());
Expand All @@ -227,7 +227,7 @@ describe('Timepicker', () => {
/>
);

await timepicker.fillIn('04:20 P');
await timepicker.fillIn('4:20 P');
});

it('emits an event with the time accounting for timezone', () => HTML({ id: 'state-time', text: testTime }).exists());
Expand Down

0 comments on commit bffed23

Please sign in to comment.