semblance-dev/node_modules/react-resizable-panels/src/utils/compareLayouts.test.ts
2025-08-04 09:07:59 -05:00

9 lines
292 B
TypeScript

import { compareLayouts } from "./compareLayouts";
describe("compareLayouts", () => {
it("should work", () => {
expect(compareLayouts([1, 2], [1])).toBe(false);
expect(compareLayouts([1], [1, 2])).toBe(false);
expect(compareLayouts([1, 2, 3], [1, 2, 3])).toBe(true);
});
});