import { describe, expect, it } from "vitest"; import { getSeedTenantSlugs, isSeedTenant } from "./protectedTenants"; describe("protectedTenants", () => { it("marks tenants from seed-tenant.csv as protected", () => { expect(getSeedTenantSlugs()).toEqual( expect.arrayContaining(["hanmac-family", "personal"]), ); expect(isSeedTenant({ slug: "hanmac-family" })).toBe(true); expect(isSeedTenant({ slug: "normal-tenant" })).toBe(false); }); });