MCPcopy Create free account
hub / github.com/cloudflare/computer / script-runner.test.ts

File script-runner.test.ts

packages/computer/tests/script-runner.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { SELF } from "cloudflare:test";
2
3async function write(path: string, source: string) {
4 const response = await SELF.fetch(`https://example.test/write?path=${encodeURIComponent(path)}`, {

Callers

nothing calls this directly

Calls 7

runtimeFunction · 0.85
writeFunction · 0.70
symlinkFunction · 0.70
readFunction · 0.70
fetchMethod · 0.65
textMethod · 0.65
jsonMethod · 0.65

Tested by

no test coverage detected