MCPcopy
hub / github.com/coder/mux / getSharedRepoPath

Function getSharedRepoPath

tests/ipc/sendMessageTestHelpers.ts:72–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 * Throws if createSharedRepo() hasn't been called.
71 */
72export function getSharedRepoPath(): string {
73 if (!sharedRepoPath) {
74 throw new Error("Shared repo not initialized. Call createSharedRepo() in beforeAll().");
75 }
76 return sharedRepoPath;
77}
78
79interface SharedWorkspaceContext {
80 env: TestEnvironment;

Callers 11

status.test.tsFile · 0.90
draft.test.tsFile · 0.90
lifecycle.test.tsFile · 0.90
setupCreationViewFunction · 0.90
picker.test.tsFile · 0.90
withSharedWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupCreationViewFunction · 0.72