Skip to content

Commit

Permalink
fix: remove testnet mumbai from maticjs test config
Browse files Browse the repository at this point in the history
  • Loading branch information
preethamr committed Jul 15, 2024
1 parent 7b89684 commit 3878a9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions packages/utils/test/maticjs/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ describe("maticjs:client", () => {
expectedNetwork: "mainnet",
expectedVersion: "v1",
},
{
title: "should work for testnet",
isMainnet: false,
expectedNetwork: "testnet",
expectedVersion: "mumbai",
},
];
for (const { isMainnet, expectedNetwork, expectedVersion, title } of testCases) {
it(title, async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/test/maticjs/proof.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const mockChainData = [
domainId: "1337",
confirmations: 1,
assetId: {},
rpc: ["https://mock.mumbai.rpc"],
rpc: ["https://polygon-mumbai.gateway.tenderly.co "],
},
{
name: "Unit Test Chain 2",
Expand Down Expand Up @@ -44,7 +44,7 @@ describe("maticjs:proof", () => {
fetchJsonStub = stub(SharedFns, "fetchJson");
fetchJsonStub.resolves(mockChainData);

posClient = await initMatic(false, mockChainData[0].rpc[0], mockChainData[1].rpc[0]);
posClient = await initMatic(true, mockChainData[0].rpc[0], mockChainData[1].rpc[0]);
posClientStub = stub(ClientFuncs, "initMatic").resolves(posClient);
exitBuildStub = stub(posClient.exitUtil, "buildPayloadForExit");
exitHashStub = stub(posClient.exitUtil, "getExitHash");
Expand Down

0 comments on commit 3878a9f

Please sign in to comment.