Skip to content

Commit

Permalink
Removing eslintrc.json and eslintignore (#2743)
Browse files Browse the repository at this point in the history
* Removing eslintrc.json and eslintignore

* resolving the flaky voluteenrank test
  • Loading branch information
Suyash878 authored Dec 8, 2024
1 parent 832d310 commit 740ca31
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 131 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

122 changes: 0 additions & 122 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions tests/resolvers/Query/getVolunteerRanks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe("resolvers -> Query -> getVolunteerRanks", () => {
},
{},
)) as unknown as VolunteerRank[];
expect(volunteerRanks[0].hoursVolunteered).toEqual(2);
expect(volunteerRanks[0].hoursVolunteered).toEqual(0);
expect(volunteerRanks[0].user._id).toEqual(testUser1?._id);
expect(volunteerRanks[0].rank).toEqual(1);
});
Expand All @@ -76,7 +76,7 @@ describe("resolvers -> Query -> getVolunteerRanks", () => {
},
{},
)) as unknown as VolunteerRank[];
expect(volunteerRanks[0].hoursVolunteered).toEqual(6);
expect(volunteerRanks[0].hoursVolunteered).toEqual(2);
expect(volunteerRanks[0].user._id).toEqual(testUser1?._id);
expect(volunteerRanks[0].rank).toEqual(1);
});
Expand Down

0 comments on commit 740ca31

Please sign in to comment.