MCPcopy Create free account
hub / github.com/cloudflare/computer / client.test.ts

File client.test.ts

packages/computer/src/artifacts/client.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Tests for the session-scoped artifacts client. The fake binding
2// stores names verbatim, so these assert the scoping contract from
3// the outside: what the caller passes in (local names) versus what
4// lands in the namespace (session-prefixed names), and that reads

Callers

nothing calls this directly

Calls 11

createArtifactFunction · 0.85
hasMethod · 0.80
createMethod · 0.65
getMethod · 0.65
listMethod · 0.65
importMethod · 0.65
deleteMethod · 0.65
createTokenMethod · 0.65
listTokensMethod · 0.65
getTokenMethod · 0.65
revokeTokenMethod · 0.65

Tested by

no test coverage detected