Skip to content

Commit

Permalink
Fix failing DateTimePicker Unit test (#41483)
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit authored Jun 2, 2022
1 parent 3b2eccc commit 751569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/date-time/date/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe( 'DatePicker', () => {
it( "should highlight today's date when not provided a currentDate", () => {
render( <DatePicker /> );

const todayDescription = moment().format( 'dddd, MMM D, YYYY' );
const todayDescription = moment().format( 'dddd, MMMM D, YYYY' );
expect(
screen.getByRole( 'button', { name: todayDescription } )
).toHaveClass( 'CalendarDay__selected' );
Expand Down

0 comments on commit 751569a

Please sign in to comment.