Skip to content

Commit

Permalink
Merge branch 'v5' into tt-351-update-libs
Browse files Browse the repository at this point in the history
  • Loading branch information
nghaninn authored Dec 18, 2024
2 parents 5a46180 + e38109e commit 1a9ae9c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down Expand Up @@ -1447,6 +1447,6 @@ describe("Fetch Escrow Transfers, V5", () => {
},
]
`);
}, 60_000);
}, 120_000);
});
});
2 changes: 2 additions & 0 deletions src/common/hooks/useEndorsementChain/helpers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,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 });
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1a9ae9c

Please sign in to comment.