Superdiff provides a complete and readable diff for both arrays and objects. Plus, it supports stream and file inputs for handling large datasets efficiently, is battle-tested, has zero dependencies, and is super fast.
 
 

7 lines
173 B

import { getObjectDiff } from "../src/object-diff";
describe("getObjectDiff", () => {
it("", () => {
expect(getObjectDiff(null, null)).toStrictEqual(null);
});
});