QUnit<p>Ever wondered how beforeEach works in unit test frameworks? Check out our new lifecycle diagram!</p><p><a href="https://qunitjs.com/lifecycle/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">qunitjs.com/lifecycle/</span><span class="invisible"></span></a></p><p>People generally guess right when it comes to ordering, so why a diagram?</p><p>We want to show that the order is guaranteed, and showcase what's possible when you depend on it.</p><p>Thanks to FND, Jan, and NullVoxPopuli for improving and promoting this work! H/T <span class="h-card" translate="no"><a href="https://hachyderm.io/@FND" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>FND</span></a></span> <span class="h-card" translate="no"><a href="https://hci.social/@simulo" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>simulo</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.coffee/@nullvoxpopuli" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>nullvoxpopuli</span></a></span> </p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qunit</span></a> <a href="https://fosstodon.org/tags/WriteTheDocs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WriteTheDocs</span></a> <a href="https://fosstodon.org/tags/TechnicalWriting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechnicalWriting</span></a> <a href="https://fosstodon.org/tags/SoftwareDocumentation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareDocumentation</span></a> <a href="https://fosstodon.org/tags/documentation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>documentation</span></a> <a href="https://fosstodon.org/tags/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a></p>