diff --git a/packages/round-manager/src/context/program/__tests__/ReadProgramContext.test.tsx b/packages/round-manager/src/context/program/__tests__/ReadProgramContext.test.tsx index d66448f48..14456fba8 100644 --- a/packages/round-manager/src/context/program/__tests__/ReadProgramContext.test.tsx +++ b/packages/round-manager/src/context/program/__tests__/ReadProgramContext.test.tsx @@ -26,6 +26,7 @@ jest.mock("wagmi", () => ({ chainId: 1, address: "0x0", }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/context/round/__tests__/ReclaimFundsContext.test.tsx b/packages/round-manager/src/context/round/__tests__/ReclaimFundsContext.test.tsx index fc1283d70..470baf4ab 100644 --- a/packages/round-manager/src/context/round/__tests__/ReclaimFundsContext.test.tsx +++ b/packages/round-manager/src/context/round/__tests__/ReclaimFundsContext.test.tsx @@ -12,6 +12,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("../../../features/api/payoutStrategy/payoutStrategy"); @@ -23,7 +24,6 @@ jest.mock("viem", () => ({ jest.mock("common", () => ({ ...jest.requireActual("common"), useAllo: jest.fn(), - })); const alloBackend = new AlloV1({ @@ -37,7 +37,6 @@ const alloBackend = new AlloV1({ transactionSender: createMockTransactionSender(), }); - const testParams: ReclaimFundsParams = { allo: alloBackend, payoutStrategy: "0x0000000000000000000000000000000000000001", diff --git a/packages/round-manager/src/context/round/__tests__/RoundContext.test.tsx b/packages/round-manager/src/context/round/__tests__/RoundContext.test.tsx index 9a9aed2c0..82d30f91c 100644 --- a/packages/round-manager/src/context/round/__tests__/RoundContext.test.tsx +++ b/packages/round-manager/src/context/round/__tests__/RoundContext.test.tsx @@ -12,6 +12,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/context/round/__tests__/UpdateRoundContext.test.tsx b/packages/round-manager/src/context/round/__tests__/UpdateRoundContext.test.tsx index 1437c07a0..85f31e3a1 100644 --- a/packages/round-manager/src/context/round/__tests__/UpdateRoundContext.test.tsx +++ b/packages/round-manager/src/context/round/__tests__/UpdateRoundContext.test.tsx @@ -31,6 +31,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/features/api/__tests__/round.test.ts b/packages/round-manager/src/features/api/__tests__/round.test.ts index 7d6c37e22..14112f502 100644 --- a/packages/round-manager/src/features/api/__tests__/round.test.ts +++ b/packages/round-manager/src/features/api/__tests__/round.test.ts @@ -20,6 +20,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/features/program/__tests__/ListProgramPage.test.tsx b/packages/round-manager/src/features/program/__tests__/ListProgramPage.test.tsx index 791fd8ad9..d92a471ce 100644 --- a/packages/round-manager/src/features/program/__tests__/ListProgramPage.test.tsx +++ b/packages/round-manager/src/features/program/__tests__/ListProgramPage.test.tsx @@ -14,6 +14,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/features/round/__tests__/ApplicationsToApproveReject.test.tsx b/packages/round-manager/src/features/round/__tests__/ApplicationsToApproveReject.test.tsx index 188e9dde4..7a8cf3969 100644 --- a/packages/round-manager/src/features/round/__tests__/ApplicationsToApproveReject.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/ApplicationsToApproveReject.test.tsx @@ -29,6 +29,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/features/round/__tests__/ApplicationsToReview.test.tsx b/packages/round-manager/src/features/round/__tests__/ApplicationsToReview.test.tsx index 7d4484e23..878a5b6dd 100644 --- a/packages/round-manager/src/features/round/__tests__/ApplicationsToReview.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/ApplicationsToReview.test.tsx @@ -30,6 +30,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ diff --git a/packages/round-manager/src/features/round/__tests__/CreateRoundPage.test.tsx b/packages/round-manager/src/features/round/__tests__/CreateRoundPage.test.tsx index 3351445e2..211fb517c 100644 --- a/packages/round-manager/src/features/round/__tests__/CreateRoundPage.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/CreateRoundPage.test.tsx @@ -12,6 +12,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({ ConnectButton: jest.fn(), diff --git a/packages/round-manager/src/features/round/__tests__/QuadraticFundingForm.test.tsx b/packages/round-manager/src/features/round/__tests__/QuadraticFundingForm.test.tsx index 36127c88b..0c377c920 100644 --- a/packages/round-manager/src/features/round/__tests__/QuadraticFundingForm.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/QuadraticFundingForm.test.tsx @@ -15,6 +15,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 10, }), + createConfig: jest.fn(), })); jest.mock("../../../constants", () => ({ ...jest.requireActual("../../../constants"), diff --git a/packages/round-manager/src/features/round/__tests__/RoundApplicationForm.test.tsx b/packages/round-manager/src/features/round/__tests__/RoundApplicationForm.test.tsx index 88e71c6b1..504959aa9 100644 --- a/packages/round-manager/src/features/round/__tests__/RoundApplicationForm.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/RoundApplicationForm.test.tsx @@ -45,6 +45,7 @@ jest.mock("wagmi", () => ({ ], }), useProvider: () => ({}), + createConfig: jest.fn(), })); jest.mock("../../../constants", () => ({ ...jest.requireActual("../../../constants"), 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 7315181b6..9cd2fdda7 100644 --- a/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx +++ b/packages/round-manager/src/features/round/__tests__/ViewFundGrantees.test.tsx @@ -28,6 +28,7 @@ jest.mock("wagmi", () => ({ useAccount: () => ({ chainId: 1, }), + createConfig: jest.fn(), })); jest.mock("@rainbow-me/rainbowkit", () => ({