Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ailZhou committed Sep 16, 2024
1 parent cdce2f9 commit 4329e33
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ export const validateOPMRates = (
errorMessage: errorMessage ?? "Measure description must be unique.",
});
}
}

//check to see if the rate has been described for other performance measure
if (otherPerformanceMeasure.find((rates) => !rates.description)) {
errorArray.push({
errorLocation: `Other Performance Measure`,
errorMessage: "Rate name required",
});
//check to see if the rate has been described for other performance measure
if (otherPerformanceMeasure.find((rates) => !rates.description)) {
errorArray.push({
errorLocation: `Other Performance Measure`,
errorMessage: "Rate name required",
});
}
}

return errorArray;
Expand Down

0 comments on commit 4329e33

Please sign in to comment.