Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ prompt.shared.test.ts
File
prompt.shared.test.ts
packages/opencode/test/cli/run/prompt.shared.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
2
import
{
3
createPromptHistory,
4
isExitCommand,
Callers
nothing calls this directly
Calls
8
createPromptHistory
Function · 0.90
pushPromptHistory
Function · 0.90
movePromptHistory
Function · 0.90
isExitCommand
Function · 0.90
isNewCommand
Function · 0.90
test
Function · 0.85
prompt
Function · 0.70
describe
Function · 0.50
Tested by
no test coverage detected