Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ assistant-message.test.ts
File
assistant-message.test.ts
apps/kimi-code/test/tui/components/messages/assistant-message.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Markdown, visibleWidth } from
'@moonshot-ai/pi-tui'
;
2
import
* as cliHighlight from
'cli-highlight'
;
3
import
{ describe, expect, it, vi } from
'vitest'
;
4
Callers
nothing calls this directly
Calls
9
visibleWidth
Function · 0.90
captureProcessWrite
Function · 0.90
createMarkdownTheme
Function · 0.90
mock
Method · 0.80
restore
Method · 0.80
strip
Function · 0.70
render
Method · 0.65
text
Method · 0.65
updateContent
Method · 0.45
Tested by
no test coverage detected