Skip to content

Commit

Permalink
Attempt to pass codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
wjames111 committed Sep 5, 2024
1 parent 7e5affa commit cbd0b1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/Tool/FixCommitmentInfo/Contact.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ describe('FixCommitmentContact', () => {

const { getByTestId } = render(<TestComponent />);
userEvent.click(getByTestId('confirmButton'));

await waitFor(() => {
expect(getByTestId('statusSelectError')).toHaveTextContent(
'Please select a status',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tool/FixCommitmentInfo/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ interface Props {
id: string;
name: string;
donations: DonationsType[];
statusTitle: string;
statusTitle: string | null | undefined;
statusValue: string;
amount: number;
amountCurrency: string;
Expand Down
5 changes: 2 additions & 3 deletions src/components/Tool/FixCommitmentInfo/FixCommitmentInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,8 @@ const FixCommitmentInfo: React.FC<Props> = ({
key={contact.id}
donations={contact.donations?.nodes}
statusTitle={
contact.status
? contactPartnershipStatus[contact.status]
: ''
contact.status &&
contactPartnershipStatus[contact.status]
}
statusValue={
getLocalizedContactStatus(t, contact.status) || ''
Expand Down

0 comments on commit cbd0b1d

Please sign in to comment.