testjavascript / nodejs-integration-tests-best-practices

✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why mark `async` in the callback of `beforeAll`?

nyngwang opened this issue · comments

commented

As title. Won't this cause a warning? If this would cause a warning then should I take it as best practice :/ ?

You're absolutely right, you shouldn't use done here as well as other places that combine them, thank you.

A PR is welcome 🤗