Skip to content

Commit

Permalink
fix: timeout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricedesaxe committed Mar 12, 2022
1 parent bf00068 commit 8763f71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ const config: HardhatUserConfig = {
},
},
},
mocha: {
timeout: 150000,
},
};

export default config;
4 changes: 0 additions & 4 deletions test/autoRedeem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ describe("Offset Helper - autoRedeem", function () {
});

it("OffsetHelper contract should hold 1.0 TCO2s", async function () {
this.timeout(120000);

// since I have no NCT, I need to impersonate an account that has it
// I'll also give it some wei, just to be safe
const addressToImpersonate = "0xdab7f2bc9aa986d9759718203c9a76534894e900";
Expand Down Expand Up @@ -390,8 +388,6 @@ describe("Offset Helper - autoRedeem", function () {
});

it("OffsetHelper contract should hold 1.0 TCO2s", async function () {
this.timeout(120000);

// since I have no BCT, I need to impersonate an account that has it
// I'll also give it some wei, just to be safe
const addressToImpersonate = "0xCef2D0c7d89C3Dcc7a8E8AF561b0294BCD6e9EBD";
Expand Down

0 comments on commit 8763f71

Please sign in to comment.