2026-06-09 12:34:30 -07:00
|
|
|
import type { StatusPage } from "../../src/domain/status-pages/status-page.type.ts";
|
2026-04-27 19:33:03 -04:00
|
|
|
|
|
|
|
|
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;
|