Can someone help me test if both of events were emitted?
I am on internship and writing tests in hardhat with ethers.js and and I am not quite sure how can I check if both of my events were emitted.
You can see my _transfer function on the first screenshot and my test for only 1event on the second screenshot.
Dec 15, 2021, 5:44 PM
Dec 15, 2021, 5:44 PM
There are test hooks for that
Dec 16, 2021, 12:40 AM