(
projectName: string,
markerContent: string
)
| 22 | }); |
| 23 | |
| 24 | async function createWorkspaceDir( |
| 25 | projectName: string, |
| 26 | markerContent: string |
| 27 | ): Promise<ProjectWorkspaceEntry> { |
| 28 | const workspacePath = path.join(rootDir, `${projectName}-workspace`); |
| 29 | await fs.mkdir(workspacePath, { recursive: true }); |
| 30 | await fs.writeFile(path.join(workspacePath, "marker.txt"), markerContent, "utf8"); |
| 31 | |
| 32 | return { |
| 33 | projectName, |
| 34 | workspacePath, |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | it("createContainer creates symlinks to each project workspace", async () => { |
| 39 | const projectWorkspaces = [ |
no test coverage detected