Skip to content

Commit a1d79e3

Browse files
VIA-630 Minor change to test syntax for Sonar
1 parent f1fa315 commit a1d79e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/_components/hub/AgeBasedHubCards.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("Age based hub cards", () => {
2121

2222
render(<AgeBasedHubCards ageGroup={AgeGroup.AGE_65_to_74} />);
2323

24-
expectedVaccinesFor65to74.map((vaccineType) => {
24+
expectedVaccinesFor65to74.forEach((vaccineType) => {
2525
const link: HTMLElement = screen.getByRole("link", { name: VaccineInfo[vaccineType].displayName.titleCase });
2626

2727
expect(link).toBeVisible();

0 commit comments

Comments
 (0)