10 lines
292 B
TypeScript
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);
|
|
});
|
|
});
|