(service: WorkspaceService, workspaceId: string)
| 70 | |
| 71 | // Helper to access private archivingWorkspaces set |
| 72 | function addToArchivingWorkspaces(service: WorkspaceService, workspaceId: string): void { |
| 73 | // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call |
| 74 | (service as any).archivingWorkspaces.add(workspaceId); |
| 75 | } |
| 76 | |
| 77 | async function withTempMuxRoot<T>(fn: (root: string) => Promise<T>): Promise<T> { |
| 78 | const originalMuxRoot = process.env.MUX_ROOT; |
no test coverage detected