Skip to content

Commit

Permalink
updating a column name for a specific conditional check
Browse files Browse the repository at this point in the history
  • Loading branch information
shaselton-usds committed Jan 31, 2024
1 parent afba338 commit 159feb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/versions/2.0/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ export function validateTallFields(
// TODO: Only one of these has to be filled, clarify error
const floatFields = [
"standard_charge | negotiated_dollar",
"standard_charge | negotiated_percent",
"standard_charge | negotiated_percentage",
]
const floatErrors = floatFields.flatMap((field) =>
validateRequiredFloatField(
Expand Down
1 change: 0 additions & 1 deletion test/2.0/csv.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ test("validateCsvTall", async (t) => {
"v2.0"
)
t.is(result.valid, true)
console.log(result.errors)
t.deepEqual(result.errors.length, 0)
})

0 comments on commit 159feb4

Please sign in to comment.