diff --git a/frontend/src/routes/profile.test.tsx b/frontend/src/routes/profile.test.tsx index fc76cadc..350869bb 100644 --- a/frontend/src/routes/profile.test.tsx +++ b/frontend/src/routes/profile.test.tsx @@ -66,6 +66,7 @@ describe("Profile component", () => { answerCount: 5, followersCount: 50, followingCount: 30, + reputationPoints: 75, bio: "This is John's bio", country: "US", }, @@ -87,6 +88,7 @@ describe("Profile component", () => { expect(screen.getByText("5")).toBeInTheDocument(); expect(screen.getByText("50")).toBeInTheDocument(); expect(screen.getByText("30")).toBeInTheDocument(); + expect(screen.getByText("75")).toBeInTheDocument(); expect(screen.getAllByText("Questions").length).toBeGreaterThan(1); expect(screen.getAllByText("Answers").length).toBeGreaterThan(1); }); diff --git a/frontend/src/routes/profile.tsx b/frontend/src/routes/profile.tsx index 7e836162..ea9b9af2 100644 --- a/frontend/src/routes/profile.tsx +++ b/frontend/src/routes/profile.tsx @@ -100,6 +100,10 @@ export default function Profile() {