diff --git a/hardhat/test/Contracts.ts b/hardhat/test/Contracts.ts deleted file mode 100644 index 6ba77e82c1..0000000000 --- a/hardhat/test/Contracts.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { expect } from "chai"; -import hre from "hardhat"; -import { time } from "@nomicfoundation/hardhat-toolbox/network-helpers"; - -describe("Lock", function () { - it("Should set the right unlockTime", async function () { - const lockedAmount = 1_000_000_000; - const ONE_YEAR_IN_SECS = 365 * 24 * 60 * 60; - const unlockTime = (await time.latest()) + ONE_YEAR_IN_SECS; - - // deploy a lock contract where funds can be withdrawn - // one year in the future - const lock = await hre.ethers.deployContract("Lock", [unlockTime], { - value: lockedAmount, - }); - - // assert that the value is correct - expect(await lock.unlockTime()).to.equal(unlockTime); - }); -}); \ No newline at end of file