@safe-global/safe-contracts
Version:
Ethereum multisig contract
14 lines (12 loc) • 508 B
text/typescript
import { expect } from "chai";
import hre from "hardhat";
import "@nomiclabs/hardhat-ethers";
import { AddressZero } from "@ethersproject/constants";
describe("Proxy", async () => {
describe("constructor", async () => {
it("should revert with invalid singleton address", async () => {
const Proxy = await hre.ethers.getContractFactory("SafeProxy");
await expect(Proxy.deploy(AddressZero)).to.be.revertedWith("Invalid singleton address provided");
});
});
});