Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
enableStubTracking
Function · 0.90
withStub
Function · 0.85
snapshotOf
Function · 0.85
decodeRuntimeEvents
Function · 0.85
publish
Method · 0.80
reject
Method · 0.80
resolve
Method · 0.80
backend
Function · 0.70
cli
Method · 0.65
writeFile
Method · 0.65
readFile
Method · 0.65
arrayBuffer
Method · 0.65
Tested by
no test coverage detected