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.
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.