MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / owned-database.test.ts

File owned-database.test.ts

apps/local/src/db/owned-database.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* oxlint-disable executor/no-try-catch-or-throw -- boundary: DB ownership tests must tear down held DB/lock handles and child processes even when assertions fail */
2import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
3import {
4 existsSync,

Callers

nothing calls this directly

Calls 13

acquireDataDirOwnershipFunction · 0.90
openOwnedLocalDatabaseFunction · 0.90
makeWorkDirFunction · 0.85
makeOwnedTestDatabaseFunction · 0.85
servingDbPathFunction · 0.85
seedMinimalV1DbFunction · 0.85
spawnOpenOwnedChildFunction · 0.85
collectTablesFunction · 0.85
waitForMarkerFunction · 0.70
waitForChildCloseFunction · 0.70
closeMethod · 0.65
executeMethod · 0.65

Tested by

no test coverage detected