I'm drafting a diagram to explain how before/after hooks work in unit tests.
They tend to work the same way across test frameworks, so it's not unique to QUnit. But, new devs will learn this for the first time, so I think it's worth explaining.
Page:
https://qunitjs.com/api/QUnit/module/#hooks
Issue tracker:
https://github.com/qunitjs/qunit/issues/1358#issuecomment-2614663327
What do you think?
#qunit #WriteTheDocs #TechnicalWriting #SoftwareDocumentation #documentation #devex #TDD

