v2.8.0 - stringifyAttributes improvements
Features:
- Minor improvements to
stringifyAttributes
:- Values of
undefined
are now removed from objects - Better whitespace
- Values of
Expect snapshot changes similar to this:
<div>
- <my-child-stub someprop="{aaa:2,bbb:undefined,ccc:true}" />
+ <my-child-stub someprop="{ aaa: 2, ccc: true }" />
</div>
Diff: