MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / snapshots-db.test.ts

File snapshots-db.test.ts

apps/desktop/src/main/snapshots-db.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { mkdtemp, readFile, rm } from 'node:fs/promises';
2import { tmpdir } from 'node:os';
3import path from 'node:path';
4import { describe, expect, it, vi } from 'vitest';

Callers

nothing calls this directly

Calls 15

initSnapshotsDbFunction · 0.90
createDesignFunction · 0.90
updateDesignWorkspaceFunction · 0.90
createSnapshotFunction · 0.90
getDesignFunction · 0.90
normalizeWorkspacePathFunction · 0.90
listDesignsFunction · 0.90
listSnapshotsFunction · 0.90
initInMemoryDbFunction · 0.90
recordDiagnosticEventFunction · 0.90
listDiagnosticEventsFunction · 0.90
touchDesignActivityFunction · 0.90

Tested by

no test coverage detected