Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
Entries: Add reference to assertion methods for test() and asyncTest()
Browse files Browse the repository at this point in the history
Fixes #55
Closes #57
  • Loading branch information
leobalter authored and jzaefferer committed Jun 23, 2014
1 parent 933cbb9 commit abf2b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions entries/QUnit.asyncTest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</desc>
<longdesc>
<p>For testing asynchronous code, <code>QUnit.asyncTest</code> will automatically stop the test runner and wait for your code to call <a href="/QUnit.start/"><code>QUnit.start()</code></a> to continue.</p>
<p>The <a href="/QUnit.assert/"><code>assert</code></a> argument to the callback contains all of QUnit's <a href="/category/assert/">assertion methods</a>. Use this argument to call your test assertions.</p>
<p>This method used to have an optional second argument called <code>expected</code>. This argument is deprecated and its usage will start throwing errors in 2.0.0. If you're using it, use <a href="/expect"><code>expect()</code></a> instead.</p>
</longdesc>
<example height="250">
Expand Down
2 changes: 1 addition & 1 deletion entries/QUnit.test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</desc>
<longdesc>
<p>When testing the most common, synchronous code, use <code>QUnit.test()</code></p>
<p>The <code>assert</code> argument to the callback contains all of QUnit's assertion methods. You should use this argument to call your test assertions</p>
<p>The <a href="/QUnit.assert/"><code>assert</code></a> argument to the callback contains all of QUnit's <a href="/category/assert/">assertion methods</a>. Use this argument to call your test assertions.</p>
<p>This method used to have an optional second argument called <code>expected</code>. This argument is deprecated and its usage will start throwing errors in 2.0.0. If you're using it, use <a href="/expect"><code>expect()</code></a> instead.</p>
</longdesc>
<example height="250">
Expand Down

0 comments on commit abf2b30

Please sign in to comment.