From b7a1e59d8c317d6e0a9e1df8dc634268649e94f5 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Tue, 10 Oct 2023 16:04:23 +0200 Subject: [PATCH] fix: Failing test --- src/components/common/ConnectWallet/__tests__/MPCLogin.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/ConnectWallet/__tests__/MPCLogin.test.tsx b/src/components/common/ConnectWallet/__tests__/MPCLogin.test.tsx index 41952da2b2..a98afa4d4e 100644 --- a/src/components/common/ConnectWallet/__tests__/MPCLogin.test.tsx +++ b/src/components/common/ConnectWallet/__tests__/MPCLogin.test.tsx @@ -54,7 +54,7 @@ describe('MPCLogin', () => { const mockOnLogin = jest.fn() const walletAddress = hexZeroPad('0x1', 20) const mockUseWallet = jest.spyOn(useWallet, 'default').mockReturnValue(null) - const mockTriggerLogin = jest.fn() + const mockTriggerLogin = jest.fn(() => true) const mockUseMPCWallet = jest.spyOn(useMPCWallet, 'useMPCWallet').mockReturnValue({ userInfo: { email: undefined,