MCPcopy Create free account
hub / github.com/cloudflare/computer / makeClient

Function makeClient

packages/computer/src/artifacts/cli.test.ts:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10import { createArtifact } from "./client.js";
11
12function makeClient() {
13 const binding = new FakeArtifactsBinding();
14 const client = createArtifact(binding, "sess1");
15 return { binding, client };
16}
17
18async function run(argv: string[]) {
19 const { client } = makeClient();

Callers 2

runFunction · 0.70
cli.test.tsFile · 0.70

Calls 1

createArtifactFunction · 0.85

Tested by

no test coverage detected