eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

218
active users

#qunit

0 posts0 participants0 posts today
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>
QUnit<p>I'm drafting a diagram to explain how before/after hooks work in unit tests.</p><p>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.</p><p>Page:<br><a href="https://qunitjs.com/api/QUnit/module/#hooks" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/QUnit/module/#</span><span class="invisible">hooks</span></a></p><p>Issue tracker:<br><a href="https://github.com/qunitjs/qunit/issues/1358#issuecomment-2614663327" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/issue</span><span class="invisible">s/1358#issuecomment-2614663327</span></a></p><p>What do you think?</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/devex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devex</span></a></p>
QUnit<p>QUnit 2.24.0 is out!</p><p>Highlights from 2.23.1 and 2.24.0:</p><p>📝 Improved CLI output with the new stack trace formatter. <br>🧩 Include mjs and cjs files by default when testing a directory.<br>✨ There is a new QUnit Blog for your feed reader.</p><p>Details: <a href="https://qunitjs.com/blog/2025/01/20/qunit-2-24-0/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/blog/2025/01/20/qu</span><span class="invisible">nit-2-24-0/</span></a><br>Download: <a href="https://qunitjs.com/intro/#release-channels" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qunit</span></a></p>
QUnit<p>QUnit 2.23.0 is out!</p><p>🏷️ Add automatic labels for simple array values in `QUnit.test.each()`.</p><p>Changelog: <a href="https://github.com/qunitjs/qunit/blob/main/History.md#2230--2024-12-03" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">main/History.md#2230--2024-12-03</span></a><br>Download: <a href="https://qunitjs.com/intro/#release-channels" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/intro/#release-cha</span><span class="invisible">nnels</span></a></p><p>Learn more:<br><a href="https://qunitjs.com/api/QUnit/test.each/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qunitjs.com/api/QUnit/test.eac</span><span class="invisible">h/</span></a></p><p><a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qunit</span></a></p>
Timo Tijhof<p>Oh my,<br>a web component?<br>on jquery dot com?</p><p>minibar is a 2kB standalone search widget. Accessible and progressively-enhancing (works without JavaScript!). An alternative to the popular 100kB DocSearch.js widget.</p><p>It goes well with Typesense, an awesome FLOSS open-source alternative to Algolia. And it's (if you want, and yes we do) self-hostable!</p><p><a href="https://github.com/jquery/typesense-minibar" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/jquery/typesense-mi</span><span class="invisible">nibar</span></a></p><p>Demo: <a href="https://jquery.com/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jquery.com/</span><span class="invisible"></span></a><br>or <a href="https://qunitjs.com/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">qunitjs.com/</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/webperf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperf</span></a> <a href="https://fosstodon.org/tags/typesense" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>typesense</span></a> <a href="https://fosstodon.org/tags/ProgressiveEnhancement" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ProgressiveEnhancement</span></a> <a href="https://fosstodon.org/tags/algolia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algolia</span></a> <a href="https://fosstodon.org/tags/jquery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jquery</span></a> <a href="https://fosstodon.org/tags/qunit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qunit</span></a></p>
QUnit<p>The journey to QUnit 3 has begun!</p><p>Most projects require no changes to upgrade. It's the same easy-to-use API you know.</p><p>If you use/maintain plugins, themes, or other integrations, minor changes might be needed. Take QUnit 3.0.0-alpha for a local spin, and let us know about any surprises or issues!</p><p>Changelog: <a href="https://github.com/qunitjs/qunit/blob/3.0.0-alpha.4/History.md" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/blob/</span><span class="invisible">3.0.0-alpha.4/History.md</span></a></p><p>Much improved docs: <a href="https://qunitjs.com/intro/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">qunitjs.com/intro/</span><span class="invisible"></span></a></p><p>New theme design: <a href="https://github.com/qunitjs/qunit/pull/1774" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/qunitjs/qunit/pull/</span><span class="invisible">1774</span></a></p><p>Matrix chat: <a href="https://app.element.io/#/room/#qunitjs_qunit:gitter.im" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">app.element.io/#/room/#qunitjs</span><span class="invisible">_qunit:gitter.im</span></a></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/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a> <a href="https://fosstodon.org/tags/TestAnythingProtocol" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TestAnythingProtocol</span></a></p>
Jan D<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@rauschma" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>rauschma</span></a></span> re:Jest: I was surprised that… <a href="https://hci.social/tags/QUnit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QUnit</span></a> worked very well for my plain ES6 projects!</p>