From f7768f599ab5b6adde4f3b9354830d1d4b6e3736 Mon Sep 17 00:00:00 2001 From: Aditya Anand M C Date: Wed, 15 May 2024 22:05:00 +0530 Subject: [PATCH] Revert "disabled payout (#3441)" (#3443) This reverts commit 42c5b61aaca6198f339badfe61e58cec7e8de7f9. --- .../round-manager/src/features/round/ViewFundGrantees.tsx | 7 +++---- .../features/round/__tests__/ViewFundGrantees.test.tsx | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/round-manager/src/features/round/ViewFundGrantees.tsx b/packages/round-manager/src/features/round/ViewFundGrantees.tsx index 5e48fa71b9..2f807f5da4 100644 --- a/packages/round-manager/src/features/round/ViewFundGrantees.tsx +++ b/packages/round-manager/src/features/round/ViewFundGrantees.tsx @@ -497,12 +497,11 @@ export function PayProjectsTable(props: { diff --git a/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx b/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx index 22089eb8a0..178e61191a 100644 --- a/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx @@ -229,7 +229,7 @@ describe("View Fund Grantees", () => { expect(screen.getByText("Wallet Address")).toBeInTheDocument(); expect(screen.getByText("Matching %")).toBeInTheDocument(); expect(screen.getByText("Payout Amount")).toBeInTheDocument(); - expect(screen.getByText("Payout funds (Disabled)")).toBeInTheDocument(); + expect(screen.getByText("Payout funds")).toBeInTheDocument(); }); it("displays exact list of projects in table which are to be paid", async () => { @@ -246,7 +246,7 @@ describe("View Fund Grantees", () => { ).toBeInTheDocument(); }); - it.skip("Should show the confirmation modal and close on cancel", async () => { + it("Should show the confirmation modal and close on cancel", async () => { (useBalance as jest.Mock).mockImplementation(() => ({ data: { formatted: "0", value: ethers.utils.parseEther("1000") }, error: null, @@ -272,7 +272,7 @@ describe("View Fund Grantees", () => { expect(screen.queryByText("Confirm Decision")).not.toBeInTheDocument(); }); - it.skip("Should show the progress modal", async () => { + it("Should show the progress modal", async () => { (useBalance as jest.Mock).mockImplementation(() => ({ data: { formatted: "0", value: ethers.utils.parseEther("1000") }, error: null, @@ -296,7 +296,7 @@ describe("View Fund Grantees", () => { }); }); - it.skip("Should show the warning when not enough funds in contract", async () => { + it("Should show the warning when not enough funds in contract", async () => { (useBalance as jest.Mock).mockImplementation(() => ({ data: { formatted: "0", value: "0" }, error: null,