Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prayanshchh committed Dec 21, 2024
1 parent 45b7fcc commit 338a7b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/typeDefs/unions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// import { gql } from "graphql-tag";

// // Place fields alphabetically to ensure easier lookup and navigation.
// export const unions = gql``;
2 changes: 1 addition & 1 deletion tests/resolvers/Query/getVolunteerRanks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 338a7b8

Please sign in to comment.