From bafc402fdc82c01742d41c72dbe245ae2a958338 Mon Sep 17 00:00:00 2001 From: "Felix C. Morency" <1102868+fmorency@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:15:22 -0500 Subject: [PATCH] fix: proposal success form test --- .../groups/forms/proposals/__tests__/SuccessForm.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/groups/forms/proposals/__tests__/SuccessForm.test.tsx b/components/groups/forms/proposals/__tests__/SuccessForm.test.tsx index a63c604c..917c4dc4 100644 --- a/components/groups/forms/proposals/__tests__/SuccessForm.test.tsx +++ b/components/groups/forms/proposals/__tests__/SuccessForm.test.tsx @@ -40,7 +40,7 @@ describe('ProposalSuccess Component', () => { expect(screen.getByText(mockProps.formData.metadata.summary)).toBeDefined(); expect(screen.getByText(mockProps.formData.metadata.details)).toBeDefined(); mockProps.formData.messages.forEach(message => { - expect(screen.getByText(`Type: ${message.type}`)).toBeDefined(); + expect(screen.getByText(`${message.type}`)).toBeDefined(); }); });