Back to Qunit

QUnit.config.maxDepth

docs/api/config/maxDepth.md

2.26.0380 B
Original Source

In the HTML Reporter, the depth up-to which an object will be serialized during the diff of an assertion failure.

<table> <tr> <th>type</th> <td markdown="span">`number`</td> </tr> <tr> <th>default</th> <td markdown="span">`5`</td> </tr> </table>

To disable the depth limit, use a value of -1.

This is used by QUnit.dump.parse().