I am writing tests for my contract in typescript. I am deploying the contracts like this:
import { Contract } from "../typechain-types/index";
import ContractArtifact from "../artifacts/contracts/Contract.sol/Contract.json";
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
import { ethers, waffle } from "hardhat";
let contractOwner: SignerWithAddress;
let deployedContract: Contract;
const { deployContract } = waffle;
[contractOwner] = await ethers.getSigners();
deployedContract = (await deployContract(
contractOwner,
ContractArtifact
)) as Contract;
Is it possible to set constructor arguments when deploying with typescript? If so, how?