Back to Qunit

QUnit.config.collapse

docs/api/config/collapse.md

2.25.0518 B
Original Source

In the HTML Reporter, collapse the details of failing tests after the first one.

<table> <tr> <th>type</th> <td markdown="span">`boolean`</td> </tr> <tr> <th>default</th> <td markdown="span">`true`</td> </tr> </table>

By default, the HTML Reporter collapses consecutive failing tests showing only the details for the first failed test. The other tests can be expanded manually with a single click on the test title.

Set this option to false to expand the details for all failing tests.