Skip to content

Commit

Permalink
Fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Dec 26, 2024
1 parent cdf717b commit 0bf62b6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions test/ValidatorRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,12 @@ describe("ValidatorRegistry", function () {
const { validatorRegistry, manager } =
await loadFixture(deployFixture);

const [, , initialMaticXAddress]: [string, string, string] =
await validatorRegistry.getContracts();
const [, , initialMaticXAddress]: [
string,
string,
string,
string,
] = await validatorRegistry.getContracts();
await (
validatorRegistry.connect(manager) as ValidatorRegistry
).setMaticX(maticXAddress);
Expand All @@ -1253,8 +1257,12 @@ describe("ValidatorRegistry", function () {
validatorRegistry.connect(manager) as ValidatorRegistry
).setMaticX(maticXAddress);

const [, , currentMaticXAddress]: [string, string, string] =
await validatorRegistry.getContracts();
const [, , currentMaticXAddress]: [
string,
string,
string,
string,
] = await validatorRegistry.getContracts();
expect(currentMaticXAddress).not.to.equal(initialMaticXAddress);
expect(currentMaticXAddress).to.equal(maticXAddress);
});
Expand Down

0 comments on commit 0bf62b6

Please sign in to comment.