Fix for https://github.com/avajs/ava/issues/1433. The react plugin
increases value indentation for properties. Combined with maxDepth
this can lead to property values exceeding the max depth. The
maxDepth() function is required on SingleValueFormatter so the
property name is still included in the formatted output.
Fix for https://github.com/avajs/ava/issues/1433. The react plugin increases value indentation for properties. Combined with
maxDepth
this can lead to property values exceeding the max depth. ThemaxDepth()
function is required onSingleValueFormatter
so the property name is still included in the formatted output.