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:
@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user