stevebuik / greased

Faster Lightning development and testing
MIT License
26 stars 2 forks source link

FEATURE: visual diff for assertEquals failures #6

Open stevebuik opened 7 years ago

stevebuik commented 7 years ago

Currently assertEquals uses JSON.stringify and the raw output of the fitbit diff lib to display differences. These two datasets can be combined so that the JSON.stringify 2nd arg is a fn which highlights the diffs using a background colour.

This fn could probably be submitted as a pull-request back to the fitbit lib since they would find it useful as well.