Open
Description
Currently the only thing that can be adjusted is the depth
.
I've run into some cases where it would be handy if inspect
and diff
accepted some options that the inspect/diff for each type could pick up on.
binaryArray.inspect
method currently has an arbitrary limit of 16 bytes. Unexpected-mitm would like to set that to +Infinity in one case.binaryArray.diff
currently has a somewhat arbitrarydiffLimit
of 512, which it would be nice to decrease in some cases and increase in others.swirl
would like for unexpected-messy to use an inspection depth of Infinity for JSON/HTML/XML request/response bodies that don't have conflicts if a--verbose
parameter is given.
Interestingly, the preferredWidth
setting can actually be overridden per MagicPen
instance, so maybe that could be a place to place such customizations?