Files

14 lines
406 B
TypeScript
Raw Permalink Normal View History

2026-06-09 12:34:30 -07:00
import type { StatusPage } from "../../src/domain/status-pages/status-page.type.ts";
export const makeStatusPage = (overrides?: Partial<StatusPage>): StatusPage =>
({
id: "sp-1",
teamId: "team-1",
userId: "user-1",
url: "my-status-page",
companyName: "Test Co",
monitors: ["mon-1"],
createdAt: "2026-01-01T00:00:00Z",
updatedAt: "2026-01-01T00:00:00Z",
...overrides,
}) as StatusPage;