From 80ebaf6dd4b80d4ca021b0cc5095c100d5581459 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Fri, 2 Feb 2024 17:14:44 +0100 Subject: [PATCH] fix test --- .../hooks/__tests__/useFilterRounds.test.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/packages/grant-explorer/src/features/discovery/hooks/__tests__/useFilterRounds.test.tsx b/packages/grant-explorer/src/features/discovery/hooks/__tests__/useFilterRounds.test.tsx index 9e922f2d22..b086a483fc 100644 --- a/packages/grant-explorer/src/features/discovery/hooks/__tests__/useFilterRounds.test.tsx +++ b/packages/grant-explorer/src/features/discovery/hooks/__tests__/useFilterRounds.test.tsx @@ -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); }); });