I missed this logic while working on https://github.com/votingworks/arlo/pull/1884 (backend support for multi-contest batch audits). Missed it since the current code just continues if the number of contests isn't 1, instead of failing.
Before this PR, the "Valid Voted Ballots in Batches" column was mistakenly left empty for multi-contest batch audits.
Overview
Issue link: https://github.com/votingworks/arlo/issues/1815
I missed this logic while working on https://github.com/votingworks/arlo/pull/1884 (backend support for multi-contest batch audits). Missed it since the current code just continues if the number of contests isn't 1, instead of failing.
Before this PR, the "Valid Voted Ballots in Batches" column was mistakenly left empty for multi-contest batch audits.
For more context on what this column represents, see https://votingworks.slack.com/archives/CKCVA0F9S/p1623087428052300.
Testing