Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
saeed-zil committed Mar 5, 2024
1 parent 79b3e0f commit 2f1f1f8
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions test/deploy.live.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@ describe("", function () {

describe("Contract deployment using deployer", function () {
it("Should be able to deploy a contract", async function () {
const contract = await this.hre.contractDeployer.withName(
"Codehash").deploy();

expect(contract.address).not.null;
const contract = await this.hre.contractDeployer
.withName("Codehash")
.deploy();

expect(contract.address).not.null;
});

it("Should be able to deploy a contract with initial params", async function () {
const contract = await this.hre.contractDeployer.withName(
"HelloWorld").withContractParams("Hello world!").deploy();

expect(contract.address).not.null;
const contract = await this.hre.contractDeployer
.withName("HelloWorld")
.withContractParams("Hello world!")
.deploy();

expect(contract.address).not.null;
});
});
});

0 comments on commit 2f1f1f8

Please sign in to comment.