/** * Shared test fixtures for Mission Control frontend tests. * * Centralized here to avoid duplication across test files. */ import type { FocusItem } from "@/lib/types"; /** Create a FocusItem with sensible defaults, overridable per field. */ export function makeFocusItem( overrides: Partial = {} ): FocusItem { return { id: "mr_review:platform/core:847", title: "Fix authentication token refresh logic", type: "mr_review", project: "platform/core", url: "https://gitlab.com/platform/core/-/merge_requests/847", iid: 847, updatedAt: new Date().toISOString(), contextQuote: null, requestedBy: null, ...overrides, }; }