Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra committed Feb 2, 2024
1 parent 6f559f6 commit 80ebaf6
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,26 +109,5 @@ describe("useFilterRounds", () => {
)?.length
).toBe(5);
expect(filterRounds(cacheMock, MOCKED_ROUNDS)?.length).toBe(0);

expect(
filterRounds(
cacheMock,
MOCKED_ROUNDS.map((r) => ({
...r,
// If RoundID is part of valid rounds
id: "0x35c9d05558da3a3f3cddbf34a8e364e59b857004",
}))
)?.length
).toBe(5);
expect(
filterRounds(
cacheMock,
MOCKED_ROUNDS.map((r) => ({
...r,
// If RoundID is part of invalid rounds
id: "0xde272b1a1efaefab2fd168c02b8cf0e3b10680ef",
}))
)?.length
).toBe(0);
});
});

0 comments on commit 80ebaf6

Please sign in to comment.