Fix gas report generation (#4824)
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
@ -3,9 +3,7 @@ const { expect } = require('chai');
|
||||
const { loadFixture, mine } = require('@nomicfoundation/hardhat-network-helpers');
|
||||
|
||||
async function fixture() {
|
||||
const signers = await ethers.getSigners();
|
||||
const addresses = await Promise.all(signers.map(s => s.getAddress()));
|
||||
return { signers, addresses };
|
||||
return {};
|
||||
}
|
||||
|
||||
describe('Environment sanity', function () {
|
||||
@ -13,13 +11,6 @@ describe('Environment sanity', function () {
|
||||
Object.assign(this, await loadFixture(fixture));
|
||||
});
|
||||
|
||||
describe('[skip-on-coverage] signers', function () {
|
||||
it('signer #0 is skipped', async function () {
|
||||
const signer = await ethers.provider.getSigner(0);
|
||||
expect(this.addresses).to.not.include(await signer.getAddress());
|
||||
});
|
||||
});
|
||||
|
||||
describe('snapshot', function () {
|
||||
let blockNumberBefore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user