Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ SELF } from
"cloudflare:test"
;
2
3
async
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
runtime
Function · 0.85
write
Function · 0.70
symlink
Function · 0.70
read
Function · 0.70
fetch
Method · 0.65
text
Method · 0.65
json
Method · 0.65
Tested by
no test coverage detected