From fc5b704398e6c6e51e2191d2b7018f7734beea4f Mon Sep 17 00:00:00 2001 From: Azat Serikov Date: Mon, 2 Dec 2024 13:40:48 +0500 Subject: [PATCH] fix: make eslint even happier --- test/0.8.25/vaults/delegation-voting.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/0.8.25/vaults/delegation-voting.test.ts b/test/0.8.25/vaults/delegation-voting.test.ts index 31ce5d307..c5650b6ed 100644 --- a/test/0.8.25/vaults/delegation-voting.test.ts +++ b/test/0.8.25/vaults/delegation-voting.test.ts @@ -3,7 +3,7 @@ import { ethers } from "hardhat"; import { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers"; -import { Delegation,StakingVault__MockForVaultDelegationLayer } from "typechain-types"; +import { Delegation, StakingVault__MockForVaultDelegationLayer } from "typechain-types"; import { advanceChainTime, certainAddress, days, proxify } from "lib"; @@ -51,7 +51,7 @@ describe("Delegation:Voting", () => { describe("setPerformanceFee", () => { it("reverts if the caller does not have the required role", async () => { - expect(delegation.connect(stranger).setPerformanceFee(100)).to.be.revertedWithCustomError( + await expect(delegation.connect(stranger).setPerformanceFee(100)).to.be.revertedWithCustomError( delegation, "NotACommitteeMember", ); @@ -116,7 +116,7 @@ describe("Delegation:Voting", () => { describe("transferStakingVaultOwnership", () => { it("reverts if the caller does not have the required role", async () => { - expect(delegation.connect(stranger).transferStVaultOwnership(certainAddress("vault-delegation-layer-voting-new-owner"))).to.be.revertedWithCustomError( + await expect(delegation.connect(stranger).transferStVaultOwnership(certainAddress("vault-delegation-layer-voting-new-owner"))).to.be.revertedWithCustomError( delegation, "NotACommitteeMember", );