diff --git a/app/components/standings/__tests__/StandingsTable.test.tsx b/app/components/standings/__tests__/StandingsTable.test.tsx index 38bcb79..7518f55 100644 --- a/app/components/standings/__tests__/StandingsTable.test.tsx +++ b/app/components/standings/__tests__/StandingsTable.test.tsx @@ -151,8 +151,8 @@ describe("StandingsTable", () => { it("should not show indicator for no rank change", () => { renderWithRouter(); - // Only first two teams have rank changes - const arrows = screen.queryAllByText(/↑|↓/); + // Only first two teams have rank changes; use \d to avoid matching sort-header arrows + const arrows = screen.queryAllByText(/[↑↓]\d/); expect(arrows).toHaveLength(2); }); });