(dataDir: string)
| 39 | // data.db exists only after the sole owner opens it, so it is the witness that a |
| 40 | // non-owner never wrote anything: an ownership loser must fail before any DB I/O. |
| 41 | const servingDbPath = (dataDir: string): string => join(realpathSync(dataDir), "data.db"); |
| 42 | |
| 43 | describe("openOwnedLocalDatabase", () => { |
| 44 | it("holds data-dir ownership until the serving database is closed", async () => { |
no outgoing calls
no test coverage detected