Skip to content

Commit

Permalink
fixing type errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky committed Sep 10, 2024
1 parent 198ceee commit 67e1cac
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-badgers-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@peeramid-labs/eds": patch
---

fixed type errors in tests
3 changes: 2 additions & 1 deletion test/eds/Distributor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { expect } from "chai";
import {
CodeIndex,
Distributor, MockCloneDistribution__factory,
OwnableDistributor,
OwnableDistributor__factory, TestFacet__factory
} from "../../types";
import { deployments } from "hardhat";
Expand All @@ -11,7 +12,7 @@ import utils from "../utils";

describe("Distributor", function () {
let codeIndex: CodeIndex;
let distributor: Distributor;
let distributor: OwnableDistributor;
let deployer: SignerWithAddress;
let owner: SignerWithAddress;
let cloneDistributionId: any;
Expand Down
3 changes: 2 additions & 1 deletion test/eds/Installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import {
MockCloneDistribution__factory,
MockInstaller,
MockInstaller__factory,
OwnableDistributor,
OwnableDistributor__factory
} from "../../types";
import { deployments } from "hardhat";
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";

describe("Installer", function () {
let codeIndex: CodeIndex;
let distributor: Distributor;
let distributor: OwnableDistributor;
let deployer: SignerWithAddress;
let owner: SignerWithAddress;
let target: SignerWithAddress;
Expand Down
3 changes: 2 additions & 1 deletion test/eds/Repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
MockCloneDistribution__factory,
MockInstaller,
MockInstaller__factory,
OwnableDistributor,
OwnableDistributor__factory,
OwnableRepository__factory,
Repository,
Expand All @@ -24,7 +25,7 @@ import utils from "../utils";

describe("Installer", function () {
let codeIndex: CodeIndex;
let distributor: Distributor;
let distributor: OwnableDistributor;
let deployer: SignerWithAddress;
let owner: SignerWithAddress;
let target: SignerWithAddress;
Expand Down

0 comments on commit 67e1cac

Please sign in to comment.