diff --git a/packages/legacy/core/__tests__/contexts/network.ts b/packages/legacy/core/__tests__/contexts/network.ts index 32b645002b..d565027235 100644 --- a/packages/legacy/core/__tests__/contexts/network.ts +++ b/packages/legacy/core/__tests__/contexts/network.ts @@ -3,7 +3,9 @@ const networkContext = { silentAssertConnectedNetwork: jest.fn(), displayNetInfoModal: jest.fn(), hideNetInfoModal: jest.fn(), - assertNetworkReachable: jest.fn(), + // assertNetworkReachable: jest.fn(), + assertInternetReachable: jest.fn(), + assertMediatorReachable: jest.fn(), } export default networkContext diff --git a/packages/legacy/core/__tests__/screens/Chat.test.tsx b/packages/legacy/core/__tests__/screens/Chat.test.tsx index 8be6de38cc..080194fe26 100644 --- a/packages/legacy/core/__tests__/screens/Chat.test.tsx +++ b/packages/legacy/core/__tests__/screens/Chat.test.tsx @@ -83,7 +83,8 @@ describe('Chat Screen', () => { jest.spyOn(network, 'useNetwork').mockImplementation(() => ({ silentAssertConnectedNetwork: () => true, assertNetworkConnected: () => true, - assertNetworkReachable: jest.fn(), + assertInternetReachable: () => true, + assertMediatorReachable: jest.fn(), displayNetInfoModal: jest.fn(), hideNetInfoModal: jest.fn(), }))