PatrickAlphaC / hardhat-nft-fcc

100 stars 139 forks source link

Update basicNft.test.js #89

Closed akhilmanga closed 1 year ago

akhilmanga commented 1 year ago

write async function.

PatrickAlphaC commented 1 year ago

Thanks!

The describe block in a testing framework like Mocha or Chai is meant to group together related test cases and provide a high-level description of the test suite. It's not designed to handle asynchronous operations directly.

We use the async in the it part. It's actually a bit of a anti-pattern to do it as such... And I think I mis-matched it throughout the course 🤦‍♀️