Consider adding better snapshots to reps
gregtatum opened this issue · comments
Greg Tatum commented
There are nicer formatters for snapshots available, and would help the testing assertions for reps. This takes an enzyme wrapper, and renders it as a nice DOM tree string representation. I took a quick stab at adding this with #942 but got bogged down in the upgrades.
https://www.npmjs.com/package/enzyme-to-json
We would need to upgrade Jest and Enzyme in order to get this.
Jason Laster commented
Thanks for starting this and sharing :)
Nicolas Chevobbe commented
I'll do this when reduxification of the objectInspector is over
Nicolas Chevobbe commented
doable after #966 lands