Back to Qunit

QUnit.config.hidepassed

docs/api/config/hidepassed.md

2.26.0463 B
Original Source

In the HTML Reporter, hide results of passed tests.

<table> <tr> <th>type</th> <td markdown="span">`boolean`</td> </tr> <tr> <th>default</th> <td markdown="span">`false`</td> </tr> </table> <p class="note" markdown="1">This option can also be controlled via the [HTML Reporter](../../intro.md#in-the-browser).</p>

By default, the HTML Reporter will list (in collapsed form) the names of all passed tests. Enable this option, to only list failing tests.