Skip to content

Commit

Permalink
Build commit 15acb36
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Jul 23, 2024
1 parent c28a98e commit 87bda89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion api/callbacks/QUnit.on/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ <h2 id="the-runend-event">The <code class="language-plaintext highlighter-rouge"

<p class="note">

Unlike other events, the <code class="language-plaintext highlighter-rouge">runEnd</code> event has <strong>memory</strong> (since QUnit 3.0). This means listening for the event is possible, even if the event already fired. For example, if you build an integration system that automates running tests in a browser, and are unable to reliably inject a listener before tests have finished executing. You can attach a late event listeners for the <code class="language-plaintext highlighter-rouge">runEnd</code> event. These will be invoked immediately in that case. This removes the need for HTML scraping.
The <code class="language-plaintext highlighter-rouge">runEnd</code> event has <strong>memory</strong> (since QUnit 3.0). This means listening for this event is possible, even if the event already fired. For example, if you build an integration system that automates running tests in a browser, and are unable to reliably inject a listener before tests have finished executing. You can attach a late event listeners for the <code class="language-plaintext highlighter-rouge">runEnd</code> event. These will be invoked immediately in that case. This removes the need for HTML scraping.

</p>

Expand Down Expand Up @@ -383,6 +383,12 @@ <h2 id="the-error-event">The <code class="language-plaintext highlighter-rouge">

<p>See also <a href="/api/extension/QUnit.onUncaughtException/">QUnit.onUncaughtException()</a> which is where you can report your own uncaught errors.</p>

<p class="note">

The <code class="language-plaintext highlighter-rouge">error</code> event has <strong>memory</strong> (since QUnit 3.0). This means listening for this event is possible, even if the event already fired. This improves reliability of reporters in browser automations, where it might be difficult to reliably inject a listener between qunit.js and anything else.

</p>

<table>
<tbody>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://qunitjs.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://qunitjs.com/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-07-23T15:07:58+00:00</updated><id>https://qunitjs.com/feed.xml</id><title type="html">QUnit</title><subtitle>The powerful, easy-to-use JavaScript testing framework.</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://qunitjs.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://qunitjs.com/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-07-23T15:08:54+00:00</updated><id>https://qunitjs.com/feed.xml</id><title type="html">QUnit</title><subtitle>The powerful, easy-to-use JavaScript testing framework.</subtitle></feed>

0 comments on commit 87bda89

Please sign in to comment.