Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement maxDepth() on SingleValueFormatter #35

Merged

Conversation

novemberborn
Copy link
Member

Fix for avajs/ava#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 avajs/ava#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.
@novemberborn novemberborn merged commit f127100 into master Jul 13, 2017
@novemberborn novemberborn deleted the support-single-value-formatters-that-exceed-max-depth branch July 13, 2017 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant