Closed akhilmanga closed 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 🤦♀️
write async function.