How do I deep compare 2 JSON objects(having similar keys) in testcafe? Also, is there a way I can store the differences?
I need something like this -
test.requestHooks([requestMock])('deep compare JSON objects', async t => {
const obj1 = hookedResponses['getJSON1'];
const obj2 = hookedResponses['getJSON2'];
const result = await t.compare(obj1, obj2);
});