fix tests, upcase fix
This commit is contained in:
parent
9b181287eb
commit
f3f52474d1
@ -119,7 +119,6 @@ function calculateLimitsAndTolerances(calibrationDatum, accuracy) {
|
||||
gr["Unit"] = unit;
|
||||
gr["In Range"] = isInRange(reading, gr["Master Value"])
|
||||
gr["Delta"] = calculateDelta(reading, gr["Low Limit"])
|
||||
console.log(0)
|
||||
}
|
||||
outOfTolerance(calibrationDatum["Gauge Reading"])
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ describe("Testing Errors", () => {
|
||||
const e = () => {
|
||||
ParseTransducer(`|| Transducer Verify Report ||\nTRANSDUCER1\n===============================================================\nTransducer 1 CTS D34-442 115FigNewtons`, 0);
|
||||
}
|
||||
expect(e).toThrowError(Error("Unknown Type of Test, do not know unit: FigNewtons"))
|
||||
expect(e).toThrowError(Error("Unknown Type of Test, do not know unit: FIGNEWTONS"))
|
||||
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user