|
3 | 3 | <meta charset="utf-8">
|
4 | 4 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5 | 5 | <link rel="icon" href="/favicon.svg">
|
6 |
| -<link rel="stylesheet" href="/assets/styles.css?v=8679f7e0" media="screen"> |
| 6 | +<link rel="stylesheet" href="/assets/styles.css?v=24854486" media="screen"> |
7 | 7 | <link rel="alternate" type="application/rss+xml" href="/feed.xml" title="QUnit">
|
8 | 8 | <title>QUnit.test.each() | QUnit</title><meta property="og:title" content="QUnit.test.each()"><meta name="description" content="Add tests using a data provider."><meta property="og:description" content="Add tests using a data provider."><link rel="me" href="https://fosstodon.org/@qunit"><meta name="twitter:card" content="summary_large_image">
|
9 | 9 | <body>
|
@@ -76,8 +76,8 @@ <h1>QUnit.test.each()</h1>
|
76 | 76 | <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
|
77 | 77 | <p><code class="language-plaintext highlighter-rouge">QUnit.test.each( name, dataset, callback )</code><br />
|
78 | 78 | <code class="language-plaintext highlighter-rouge">QUnit.test.only.each( name, dataset, callback )</code><br />
|
79 |
| -<code class="language-plaintext highlighter-rouge">QUnit.test.todo.each( name, dataset, callback )</code><br /> |
80 | 79 | <code class="language-plaintext highlighter-rouge">QUnit.test.skip.each( name, dataset, callback )</code><br />
|
| 80 | +<code class="language-plaintext highlighter-rouge">QUnit.test.todo.each( name, dataset, callback )</code><br /> |
81 | 81 | <code class="language-plaintext highlighter-rouge">QUnit.test.if.each( name, condition, dataset, callback )</code></p>
|
82 | 82 |
|
83 | 83 | <p>Add tests using a data provider.</p>
|
@@ -132,7 +132,7 @@ <h3 id="callback-parameters">Callback parameters</h3>
|
132 | 132 |
|
133 | 133 | <p>Each test case is passed one item from your dataset.</p>
|
134 | 134 |
|
135 |
| -<p>The <a href="/api/QUnit/test.only/"><code class="language-plaintext highlighter-rouge">only</code></a>, <a href="/api/QUnit/test.todo/"><code class="language-plaintext highlighter-rouge">todo</code></a>, <a href="/api/QUnit/test.skip/"><code class="language-plaintext highlighter-rouge">skip</code></a>, and <a href="/api/QUnit/test.if/"><code class="language-plaintext highlighter-rouge">if</code></a> variants are also available, as <code class="language-plaintext highlighter-rouge">QUnit.test.only.each</code>, <code class="language-plaintext highlighter-rouge">QUnit.test.todo.each</code>, <code class="language-plaintext highlighter-rouge">QUnit.test.skip.each</code>, and <code class="language-plaintext highlighter-rouge">QUnit.test.if.each</code> respectively.</p> |
| 135 | +<p>The <a href="/api/QUnit/test.only/"><code class="language-plaintext highlighter-rouge">only</code></a>, <a href="/api/QUnit/test.skip/"><code class="language-plaintext highlighter-rouge">skip</code></a>, <a href="/api/QUnit/test.todo/"><code class="language-plaintext highlighter-rouge">todo</code></a>, and <a href="/api/QUnit/test.if/"><code class="language-plaintext highlighter-rouge">if</code></a> variants are also available, as <code class="language-plaintext highlighter-rouge">QUnit.test.only.each</code>, <code class="language-plaintext highlighter-rouge">QUnit.test.skip.each</code>, <code class="language-plaintext highlighter-rouge">QUnit.test.todo.each</code>, and <code class="language-plaintext highlighter-rouge">QUnit.test.if.each</code> respectively.</p> |
136 | 136 |
|
137 | 137 | <h3 id="reduce-code-duplication">Reduce code duplication</h3>
|
138 | 138 |
|
|
0 commit comments