diff --git a/test/validate_v2.ts b/test/validate_v2.ts index 1683f81c..400737c5 100644 --- a/test/validate_v2.ts +++ b/test/validate_v2.ts @@ -475,10 +475,10 @@ describe('Restrictions', () => { }); it('are present in format files', () => { - let restrictionIdsFromFormats = new Set(); + const restrictionIdsFromFormats = new Set(); // Get all formats and their listed snapshots. - formatsByFilename.forEach((format, file) => { + formatsByFilename.forEach((format) => { format.snapshots.forEach(snapshot => { if ('restriction_id' in snapshot) { restrictionIdsFromFormats.add(snapshot.restriction_id);