Last active
September 2, 2021 09:17
-
-
Save nanthanwa/c5b959a0f00e889ceb5dd7ec6450aad6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("OneClickMint", () => { | |
let contract; | |
beforeEach(async () => { | |
contract = await deployContract(); | |
}); | |
describe("# Minting with TCR 0.5", () => { | |
beforeEach(async () => { | |
await contract.setTCR("0.5"); | |
}); | |
it("can mint ....", async () => {}); | |
it("can mint ....", async () => {}); | |
}); | |
describe("# set variable by maintainer", () => { | |
beforeEach(async () => { | |
const [minter, maintainer] = await ethers.getSigners(); | |
await contract.setMaintainer(maintainer.address); | |
}); | |
it("can ...", async () => { | |
const [minter, maintainer] = await ethers.getSigners(); | |
await contract.connect(minter).quickMint(); | |
}); | |
it("can ...", async () => { | |
[minter, maintainer] = await ethers.getSigners(); | |
await contract.connect(minter).quickMint(); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment