feature/IO-2769-Job-Totals-testing: Allow for both american and canadian capture + tests

This commit is contained in:
Dave Richer
2025-04-04 13:43:19 -04:00
parent add88659a4
commit 27a3932c08
4 changed files with 30 additions and 8 deletions

View File

@@ -39,7 +39,14 @@ exports.totalsSsu = async function (req, res) {
// Capture fixture data (input and output), using job.id for the filename.
if (process.env?.SAVE_TOTALS_DATA) {
captureFixture(inputForTotals, inputForTotals, newTotals);
captureFixture(
inputForTotals,
newTotals,
InstanceMgr({
imex: "ca",
rome: "us"
})
);
}
const result = await client.setHeaders({ Authorization: BearerToken }).request(queries.UPDATE_JOB, {