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

Function writeTestLog

apps/desktop/src/main/diagnostics-ipc.test.ts:563–566  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

561
562describe('diagnostics bundle main.log scrubbing', () => {
563 async function writeTestLog(content: string): Promise<void> {
564 const { writeFile } = await import('node:fs/promises');
565 await writeFile('/tmp/__codesign-test-main.log', content, 'utf8');
566 }
567
568 async function recordAndReport(overrides: Record<string, unknown>): Promise<{ mainLog: string }> {
569 const db = initInMemoryDb();

Callers 1

Calls 1

writeFileFunction · 0.85

Tested by

no test coverage detected