Skip to content

Commit

Permalink
fix: increase jest timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rongquan1 committed Dec 13, 2024
1 parent 2777564 commit 5edcc46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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 @@ -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 });
});
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

0 comments on commit 5edcc46

Please sign in to comment.