UNPKG

@safe-global/safe-contracts

Version:
14 lines (12 loc) 508 B
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"); }); }); });