avajs / ava

Node.js test runner that lets you develop with confidence 🚀
MIT License
20.74k stars 1.41k forks source link

`after` hooks trigger just after the test run, not all the test finished #2907

Closed HomyeeKing closed 2 years ago

HomyeeKing commented 2 years ago

Please provide details about:

Please share relevant sample code. Or better yet, provide a link to a minimal reproducible example.

We'll also need your AVA configuration (in package.json or ava.config.* configuration files) and how you're invoking AVA. Share the installed AVA version (get it by running npx ava --version).

novemberborn commented 2 years ago

Please share relevant sample code.

Closing for housekeeping purposes but happy to reopen. This may also be good as a Q&A discussion in https://github.com/avajs/ava/discussions.