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

Function freshId

packages/computer/tests/proxy.test.ts:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22function freshId(): string {
23 // Mint a fresh DO id each test so cases stay independent.
24 return env.COMPUTERD.newUniqueId().toString();
25}
26
27describe("WorkspaceProxy", () => {
28 it("answers /health with 200 and the documented body", async () => {

Callers 1

proxy.test.tsFile · 0.70

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected