Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ edit.test.ts
File
edit.test.ts
packages/opencode/test/tool/edit.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect } from
"bun:test"
2
import
path from
"path"
3
import
fs from
"fs/promises"
4
import
{ LayerNode } from
"@opencode-ai/core/effect/layer-node"
Callers
nothing calls this directly
Calls
15
disposeAllInstances
Function · 0.90
testEffect
Function · 0.90
put
Function · 0.85
expectLf
Function · 0.85
expectCrlf
Function · 0.85
instance
Method · 0.80
normalize
Function · 0.70
execute
Method · 0.65
init
Function · 0.50
run
Function · 0.50
describe
Function · 0.50
load
Function · 0.50
Tested by
no test coverage detected