feature/IO-2769-Job-Totals-testing: Allow for both american and canadian capture + tests
This commit is contained in:
@@ -38,7 +38,7 @@ exports.totalsSsu = async function (req, res) {
|
||||
const newTotals = await TotalsServerSide({ body: { job: inputForTotals, client: client } }, res, true);
|
||||
|
||||
// Capture fixture data (input and output), using job.id for the filename.
|
||||
if (process.env?.SAVE_TOTALS_DATA) {
|
||||
if (process.env?.SAVE_TOTALS_DATA === "true") {
|
||||
captureFixture(inputForTotals, newTotals);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user