(obj)
| 137 | } |
| 138 | |
| 139 | const objectHash = function (obj) { if (obj != null) { return (obj.name || obj.id || obj._id || JSON.stringify(_.keys(obj).sort())) } else { return 'null' } } |
| 140 | |
| 141 | module.exports.makeJSONDiffer = () => jsondiffpatch.create({ objectHash }) |
| 142 |
no test coverage detected