Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add warning about async callback for describe (#5046)
* docs: Add warning about async callback for describe I couldn't find any reference to `describe` not supporting an async function. It seems like a natural idea given `it` and `before` do. I spent considerable time trying to figure out why an async test was failing before I discovered the reason deep in an issue discussion (#2975 (comment)), so hope that this helps others design their test suites! * Update docs/index.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> * Update docs/index.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> --------- Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
- Loading branch information