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

File stub.test.ts

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

Source from the content-addressed store, hash-verified

1// Direct tests for the WorkspaceStub class.
2//
3// The stub wraps a host-side Workspace as a capnweb RpcTarget so it
4// can be returned across a Workers-RPC boundary. The class exposes

Callers

nothing calls this directly

Calls 15

enableStubTrackingFunction · 0.90
withStubFunction · 0.85
snapshotOfFunction · 0.85
decodeRuntimeEventsFunction · 0.85
publishMethod · 0.80
rejectMethod · 0.80
resolveMethod · 0.80
backendFunction · 0.70
cliMethod · 0.65
writeFileMethod · 0.65
readFileMethod · 0.65
arrayBufferMethod · 0.65

Tested by

no test coverage detected