MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / baseReportInput

Function baseReportInput

apps/desktop/src/main/diagnostics-ipc.test.ts:341–353  ·  view source on GitHub ↗
(overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

339 };
340 }
341 function baseReportInput(overrides: Record<string, unknown> = {}) {
342 return {
343 schemaVersion: 1 as const,
344 error: baseError(overrides['error'] as Record<string, unknown> | undefined),
345 includePromptText: false,
346 includePaths: false,
347 includeUrls: false,
348 includeTimeline: true,
349 notes: 'looks bad',
350 timeline: [],
351 ...overrides,
352 };
353 }
354
355 it('returns issueUrl + bundlePath + summaryMarkdown without any DB row', async () => {
356 // The Report flow no longer requires a persisted diagnostic event row — the

Callers 1

Calls 1

baseErrorFunction · 0.85

Tested by

no test coverage detected