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

Function createRuntime

tests/runtime/runtime.test.ts:139–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 const testLocalOnly = testIf(!isRemote);
138 const testDockerOnly = testIf(type === "docker");
139 const createRuntime = (): Runtime =>
140 createTestRuntime(
141 type,
142 getBaseWorkdir(),
143 sshConfig,
144 type === "docker"
145 ? { image: "mux-ssh-test", containerName: sshConfig!.containerId }
146 : undefined
147 );
148
149 const execWorkspace = (
150 runtime: Runtime,

Callers 2

withRuntimeWorkspaceFunction · 0.70
runtime.test.tsFile · 0.70

Calls 2

createTestRuntimeFunction · 0.90
getBaseWorkdirFunction · 0.85

Tested by

no test coverage detected