From 23884b0c2b2c80f665127c52c8799aa350145202 Mon Sep 17 00:00:00 2001 From: Hiroshi Urabe Date: Thu, 2 Jun 2022 01:10:35 +0900 Subject: [PATCH] Get non-abbreviated month name --- packages/components/src/date-time/date/test/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/date-time/date/test/index.tsx b/packages/components/src/date-time/date/test/index.tsx index 57e8f12335cfa..ef6c201252d17 100644 --- a/packages/components/src/date-time/date/test/index.tsx +++ b/packages/components/src/date-time/date/test/index.tsx @@ -28,7 +28,7 @@ describe( 'DatePicker', () => { it( "should highlight today's date when not provided a currentDate", () => { render( ); - 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' );