Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush0Chaudhary committed Mar 25, 2023
1 parent 04aecbf commit e7319ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/resolvers/Mutation/joinPublicOrganization.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ describe("resolvers -> Mutation -> joinPublicOrganization", () => {
_id: testUser!._id,
})
.select(["-password"])
.populate("joinedOrganizations")
.lean();

expect(joinPublicOrganizationPayload).toEqual(updatedTestUser);
Expand Down

0 comments on commit e7319ad

Please sign in to comment.