Skip to content

Commit

Permalink
fix: make eslint even happier
Browse files Browse the repository at this point in the history
  • Loading branch information
mymphe committed Dec 2, 2024
1 parent dd485cd commit fc5b704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/0.8.25/vaults/delegation-voting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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",
);
Expand Down Expand Up @@ -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",
);
Expand Down

0 comments on commit fc5b704

Please sign in to comment.