Skip to content

Commit d87aa45

Browse files
committed
adds missing dependency to tests
1 parent 9553241 commit d87aa45

21 files changed

+23
-35
lines changed

packages/round-manager/src/context/program/__tests__/ReadProgramContext.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jest.mock("wagmi", () => ({
2929
}));
3030
jest.mock("@rainbow-me/rainbowkit", () => ({
3131
ConnectButton: jest.fn(),
32-
getDefaultConfig: jest.fn(),
32+
connectorsForWallets: jest.fn(),
3333
}));
3434
jest.mock("data-layer", () => ({
3535
...jest.requireActual("data-layer"),

packages/round-manager/src/context/round/__tests__/RoundContext.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jest.mock("wagmi", () => ({
1515
}));
1616
jest.mock("@rainbow-me/rainbowkit", () => ({
1717
ConnectButton: jest.fn(),
18-
getDefaultConfig: jest.fn(),
18+
connectorsForWallets: jest.fn(),
1919
}));
2020
jest.mock("../../../features/common/Auth", () => ({
2121
useWallet: () => mockWallet,

packages/round-manager/src/context/round/__tests__/UpdateRoundContext.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jest.mock("wagmi", () => ({
3434
}));
3535
jest.mock("@rainbow-me/rainbowkit", () => ({
3636
ConnectButton: jest.fn(),
37-
getDefaultConfig: jest.fn(),
37+
connectorsForWallets: jest.fn(),
3838
}));
3939

4040
jest.mock("../../../features/api/round");

packages/round-manager/src/features/api/__tests__/round.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jest.mock("wagmi", () => ({
2323
}));
2424
jest.mock("@rainbow-me/rainbowkit", () => ({
2525
ConnectButton: jest.fn(),
26-
getDefaultConfig: jest.fn(),
26+
connectorsForWallets: jest.fn(),
2727
}));
2828

2929
describe("TransactionBuilder", () => {

packages/round-manager/src/features/common/__tests__/ErrorModal.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ErrorModal from "../../common/ErrorModal";
55
jest.mock("../../common/Auth");
66
jest.mock("@rainbow-me/rainbowkit", () => ({
77
ConnectButton: jest.fn(),
8-
getDefaultConfig: jest.fn(),
8+
connectorsForWallets: jest.fn(),
99
}));
1010

1111
describe("<ErrorModal />", () => {

packages/round-manager/src/features/program/__tests__/CreateProgramPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jest.mock("../../api/ipfs");
1818
jest.mock("../../common/Auth");
1919
jest.mock("@rainbow-me/rainbowkit", () => ({
2020
ConnectButton: jest.fn(),
21-
getDefaultConfig: jest.fn(),
21+
connectorsForWallets: jest.fn(),
2222
}));
2323

2424
jest.mock("../../../constants", () => ({

packages/round-manager/src/features/program/__tests__/ListProgramPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jest.mock("wagmi", () => ({
1717
}));
1818
jest.mock("@rainbow-me/rainbowkit", () => ({
1919
ConnectButton: jest.fn(),
20-
getDefaultConfig: jest.fn(),
20+
connectorsForWallets: jest.fn(),
2121
}));
2222
jest.mock("data-layer", () => ({
2323
...jest.requireActual("data-layer"),

packages/round-manager/src/features/program/__tests__/ViewProgramPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jest.mock("../../common/Auth");
2323
jest.mock("../../api/program");
2424
jest.mock("@rainbow-me/rainbowkit", () => ({
2525
ConnectButton: jest.fn(),
26-
getDefaultConfig: jest.fn(),
26+
connectorsForWallets: jest.fn(),
2727
}));
2828
jest.mock("react-router-dom", () => ({
2929
...jest.requireActual("react-router-dom"),

packages/round-manager/src/features/round/__tests__/ApplicationsToApproveReject.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jest.mock("wagmi", () => ({
3232
}));
3333
jest.mock("@rainbow-me/rainbowkit", () => ({
3434
ConnectButton: jest.fn(),
35-
getDefaultConfig: jest.fn(),
35+
connectorsForWallets: jest.fn(),
3636
}));
3737
jest.mock("../../api/application");
3838
jest.mock("../../common/Auth", () => ({

packages/round-manager/src/features/round/__tests__/ApplicationsToReview.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jest.mock("wagmi", () => ({
3434

3535
jest.mock("@rainbow-me/rainbowkit", () => ({
3636
ConnectButton: jest.fn(),
37-
getDefaultConfig: jest.fn(),
37+
connectorsForWallets: jest.fn(),
3838
}));
3939

4040
jest.mock("common/src/allo/backends/allo-v1");

0 commit comments

Comments
 (0)