From 37cfbde6667e67e98b233ab65bf4dc2ab22052a9 Mon Sep 17 00:00:00 2001 From: prayansh_chhablani <135210710+prayanshchh@users.noreply.github.com> Date: Wed, 20 Nov 2024 15:48:01 +0530 Subject: [PATCH] getVolunteerRanks test fix (#2704) * getVolunteerRanks test fix * test fix --- tests/resolvers/Query/getVolunteerRanks.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/resolvers/Query/getVolunteerRanks.spec.ts b/tests/resolvers/Query/getVolunteerRanks.spec.ts index 0f5d6973d5..ab799f7f7c 100644 --- a/tests/resolvers/Query/getVolunteerRanks.spec.ts +++ b/tests/resolvers/Query/getVolunteerRanks.spec.ts @@ -76,7 +76,7 @@ describe("resolvers -> Query -> getVolunteerRanks", () => { }, {}, )) as unknown as VolunteerRank[]; - expect(volunteerRanks[0].hoursVolunteered).toEqual(2); + expect(volunteerRanks[0].hoursVolunteered).toEqual(6); expect(volunteerRanks[0].user._id).toEqual(testUser1?._id); expect(volunteerRanks[0].rank).toEqual(1); });