From df5ed42c433b9d57e3f1a83b3b5b24ce94e7e6d6 Mon Sep 17 00:00:00 2001 From: Hamzah Ullah Date: Wed, 22 May 2024 08:39:06 -0400 Subject: [PATCH] fix: update date format on flaky tests (#1087) --- .../dashboard/sidebar/tests/LearnerCreditSummaryCard.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/sidebar/tests/LearnerCreditSummaryCard.test.jsx b/src/components/dashboard/sidebar/tests/LearnerCreditSummaryCard.test.jsx index 792af6e9ce..5baa37bb6f 100644 --- a/src/components/dashboard/sidebar/tests/LearnerCreditSummaryCard.test.jsx +++ b/src/components/dashboard/sidebar/tests/LearnerCreditSummaryCard.test.jsx @@ -15,7 +15,7 @@ import { useEnterpriseCustomer } from '../../../app/data'; import { authenticatedUserFactory, enterpriseCustomerFactory } from '../../../app/data/services/data/__factories__'; const TEST_EXPIRATION_DATE = dayjs().add(10, 'days').toISOString(); -const TEST_EXPIRATION_DATE_TEXT = dayjs().add(10, 'days').format('MMM DD, YYYY'); +const TEST_EXPIRATION_DATE_TEXT = dayjs().add(10, 'days').format('MMM D, YYYY'); const mockActiveStatusMetadata = { status: BUDGET_STATUSES.active, badgeVariant: 'success',