Update dependency eslint to v9 (#4996)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
This commit is contained in:
renovate[bot]
2024-10-23 08:31:39 +02:00
committed by GitHub
parent 29f4059773
commit 205f59e9b6
20 changed files with 311 additions and 229 deletions

View File

@ -126,8 +126,9 @@ describe('Address', function () {
});
it('reverts when function does not exist', async function () {
const interface = new ethers.Interface(['function mockFunctionDoesNotExist()']);
const call = interface.encodeFunctionData('mockFunctionDoesNotExist');
const call = new ethers.Interface(['function mockFunctionDoesNotExist()']).encodeFunctionData(
'mockFunctionDoesNotExist',
);
await expect(this.mock.$functionCall(this.target, call)).to.be.revertedWithCustomError(this.mock, 'FailedCall');
});