Created
February 13, 2022 03:27
-
-
Save tumf/d01cf66c2c8b7842fb74c133a80bdba0 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
const { ethers } = require("hardhat"); | |
describe("Consumer", () => { | |
let consumer; | |
before(async () => { | |
const Consumer = await ethers.getContractFactory("Consumer"); | |
consumer = await Consumer.deploy(); | |
await consumer.deployed(); | |
}); | |
it("#counter1", async () => { | |
await consumer.counter1(); | |
}); | |
it("#counter2", async () => { | |
await consumer.counter2(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment