Chore: homepage tests (#6278)

This commit is contained in:
shamoon
2026-02-04 19:58:39 -08:00
committed by GitHub
parent 7d019185a3
commit 872a3600aa
558 changed files with 32606 additions and 84 deletions

View File

@@ -0,0 +1,12 @@
import { describe, expect, it } from "vitest";
import { columnMap } from "./columns";
describe("utils/layout/columns", () => {
it("maps column counts to responsive grid classes", () => {
expect(columnMap).toHaveLength(9);
expect(columnMap[1]).toContain("grid-cols-1");
expect(columnMap[2]).toContain("md:grid-cols-2");
expect(columnMap[8]).toContain("lg:grid-cols-8");
});
});