Files
Webklar.com/node_modules/react-resizable-panels/src/utils/compareLayouts.test.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

10 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);
});
});