diff --git a/src/common/hooks/useEndorsementChain/fetchEscrowTransfer.integration.test.ts b/src/common/hooks/useEndorsementChain/fetchEscrowTransfer.integration.test.ts index cce96ac30..3459b78e4 100644 --- a/src/common/hooks/useEndorsementChain/fetchEscrowTransfer.integration.test.ts +++ b/src/common/hooks/useEndorsementChain/fetchEscrowTransfer.integration.test.ts @@ -10,7 +10,7 @@ const amoyProvider = new providers.JsonRpcProvider(ChainInfo[ChainId.Amoy].rpcUr const mockUseProviderContext = useProviderContext as jest.Mock; describe("Fetch Escrow Transfers, V5", () => { - jest.setTimeout(15000); + jest.setTimeout(120000); beforeAll(() => { mockUseProviderContext.mockReturnValue({ provider: amoyProvider, providerOrSigner: amoyProvider }); @@ -1447,6 +1447,6 @@ describe("Fetch Escrow Transfers, V5", () => { }, ] `); - }, 60_000); + }, 120_000); }); }); diff --git a/src/common/hooks/useEndorsementChain/helpers.test.ts b/src/common/hooks/useEndorsementChain/helpers.test.ts index 728fc43c9..cce4cb772 100644 --- a/src/common/hooks/useEndorsementChain/helpers.test.ts +++ b/src/common/hooks/useEndorsementChain/helpers.test.ts @@ -13,6 +13,8 @@ const amoyProvider = new providers.JsonRpcProvider(ChainInfo[ChainId.Amoy].rpcUr const mockUseProviderContext = useProviderContext as jest.Mock; describe("Test all endorsement chain helpers", () => { + jest.setTimeout(120000); + beforeAll(() => { mockUseProviderContext.mockReturnValue({ provider: amoyProvider, providerOrSigner: amoyProvider }); }); diff --git a/src/common/hooks/useEndorsementChain/retrieveEndorsementChain.integration.test.ts b/src/common/hooks/useEndorsementChain/retrieveEndorsementChain.integration.test.ts index 738e7bb80..3d9614de0 100644 --- a/src/common/hooks/useEndorsementChain/retrieveEndorsementChain.integration.test.ts +++ b/src/common/hooks/useEndorsementChain/retrieveEndorsementChain.integration.test.ts @@ -11,7 +11,7 @@ const amoyProvider = new providers.JsonRpcProvider(ChainInfo[ChainId.Amoy].rpcUr const mockUseProviderContext = useProviderContext as jest.Mock; describe("Fetch Endorsement Transfers", () => { - jest.setTimeout(45000); + jest.setTimeout(120000); beforeAll(() => { mockUseProviderContext.mockReturnValue({ provider: amoyProvider, providerOrSigner: amoyProvider }); diff --git a/src/common/hooks/useEndorsementChain/useEndorsementChain.integration.test.tsx b/src/common/hooks/useEndorsementChain/useEndorsementChain.integration.test.tsx index a9eea5460..eb17113d4 100644 --- a/src/common/hooks/useEndorsementChain/useEndorsementChain.integration.test.tsx +++ b/src/common/hooks/useEndorsementChain/useEndorsementChain.integration.test.tsx @@ -208,8 +208,8 @@ describe("useEndorsementChain|integration", () => { expect(result.current.pending).toBe(false); expect(result.current.error).toBe(""); }, - { timeout: 60_000 } + { timeout: 120_000 } ); }); - }, 60_000); + }, 120_000); }); diff --git a/src/components/EndorsementChain/EndorsementChainContainer.tsx b/src/components/EndorsementChain/EndorsementChainContainer.tsx index e600dda63..e673d5365 100644 --- a/src/components/EndorsementChain/EndorsementChainContainer.tsx +++ b/src/components/EndorsementChain/EndorsementChainContainer.tsx @@ -8,7 +8,7 @@ import { } from "@tradetrust-tt/tradetrust-ui-components"; import { useTimer } from "react-timer-hook"; -const ProviderDocumentationURL = "https://docs.tradetrust.io/docs/advanced/add-polygon-networks-to-metamask-wallet/"; +const ProviderDocumentationURL = "https://docs.tradetrust.io/docs/topics/advanced/additional-network-metamask-guide/"; const timeout = 60; interface EndorsementChainContainer {