Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ editor.test.ts
File
editor.test.ts
packages/tui/test/editor.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, expect, test } from
"bun:test"
2
import
{ normalizePromptContent, openEditor } from
"../src/editor"
3
4
const
editor = process.env.EDITOR
Callers
nothing calls this directly
Calls
3
openEditor
Function · 0.90
normalizePromptContent
Function · 0.90
test
Function · 0.85
Tested by
no test coverage detected