From 9577441c9fbeabb675e78738e74bf17d2a0fe8d4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 4 Sep 2024 15:56:47 -0700 Subject: [PATCH] fix: date format in test --- .../Transfers/components/__tests__/TransferSummary.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Transfers/components/__tests__/TransferSummary.test.jsx b/frontend/src/views/Transfers/components/__tests__/TransferSummary.test.jsx index 563a3c326..43050634c 100644 --- a/frontend/src/views/Transfers/components/__tests__/TransferSummary.test.jsx +++ b/frontend/src/views/Transfers/components/__tests__/TransferSummary.test.jsx @@ -51,7 +51,7 @@ describe('TransferSummary', () => { expect(screen.getByText('transfer:valuePerUnit: $5.00')).toBeInTheDocument() expect(screen.getByText('transfer:totalVal: $50.00')).toBeInTheDocument() // 10 * 5 = 50 expect( - screen.getByText('transfer:agreementDt: 12/31/2022') + screen.getByText('transfer:agreementDt: 2022-12-31') ).toBeInTheDocument() // Date formatted }) })