There is one fundamental mistake in your sample above, you can't use describe in an asynchronously way. So this code snipet is wrong: describe('My test suite', async function(){ ... Only hooks and tests can have async callbacks.
describe
describe('My test suite', async function(){ ...
hooks
tests
Ohhhhhhhhh, good catch! That makes sense and, in retrospect, explains a few problems I had in the past...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is one fundamental mistake in your sample above, you can't use
describe
in an asynchronously way. So this code snipet is wrong:describe('My test suite', async function(){ ...
Only
hooks
andtests
can have async callbacks.Ohhhhhhhhh, good catch! That makes sense and, in retrospect, explains a few problems I had in the past...