(testName: string)
| 7 | import { TaskHandleStore, WORKSPACE_TURN_TASK_ID_PREFIX } from "@/node/services/taskHandleStore"; |
| 8 | |
| 9 | async function createTempConfig(testName: string): Promise<{ config: Config; rootDir: string }> { |
| 10 | const rootDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), `${testName}-`)); |
| 11 | const config = new Config(rootDir); |
| 12 | await fsPromises.mkdir(config.srcDir, { recursive: true }); |
| 13 | return { config, rootDir }; |
| 14 | } |
| 15 | |
| 16 | describe("TaskHandleStore", () => { |
| 17 | it("persists and lists owner-scoped workspace turn handles", async () => { |
no outgoing calls
no test coverage detected