Skip to content

Commit

Permalink
chore: pre-commit run
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevespi committed May 20, 2024
1 parent 16eda35 commit 64fc374
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 41 deletions.
2 changes: 1 addition & 1 deletion app/components/Form/ProjectMilestoneReportFormSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const ProjectMilestoneReportFormSummary: React.FC<Props> = ({
latestCommittedMilestoneFormChanges?.edges,
renderDiff,
sortedMilestoneReports,
latestCommittedReportMap
latestCommittedReportMap,
]);

const milestoneReportsNotUpdated = useMemo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const mockQueryPayload = {
reportingRequirementId: 1,
hasExpenses: true,
},
}
},
},
{
node: {
Expand All @@ -94,10 +94,10 @@ const mockQueryPayload = {
reportingRequirementIndex: 2,
reportingRequirementId: 2,
},
}
},
},
]
}
],
},
};
return result;
},
Expand Down Expand Up @@ -285,10 +285,10 @@ describe("The Project Milestone Report Form Summary", () => {
adjustedGrossAmount: 12,
adjustedHoldbackAmount: 13,
},
}
}
]
}
},
},
],
},
};
return result;
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,6 @@ const mockQueryPayload = {
name: "Test Project Status Name",
},
},
// formChangeByPreviousFormChangeId: {
// newFormData: {
// proposalReference: "Test Proposal Reference PREVIOUS",
// operatorId: 1,
// fundingStreamRfpId: 1,
// projectStatusId: 1,
// summary: "Test Summary",
// projectName: "Test Project Name",
// totalFundingRequest: 100.0,
// score: 1,
// projectType: "test project type PREVIOUS",
// },
// asProject: {
// operatorByOperatorId: {
// legalName: "Test Legal Name PREVIOUS",
// bcRegistryId: "Test BC Registry ID",
// },
// fundingStreamRfpByFundingStreamRfpId: {
// year: 2020,
// fundingStreamByFundingStreamId: {
// description: "Test Funding Stream Description",
// },
// },
// projectStatusByProjectStatusId: {
// name: "Test Project Status Name",
// },
// },
// },
},
latestCommittedProjectFormChanges: {
edges: [
Expand Down Expand Up @@ -109,10 +81,10 @@ const mockQueryPayload = {
name: "Test Project Status Name",
},
},
}
}
]
}
},
},
],
},
};
},
};
Expand Down

0 comments on commit 64fc374

Please sign in to comment.