Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ truncated-text.test.ts
File
truncated-text.test.ts
packages/pi-tui/test/truncated-text.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
"node:assert"
;
2
import
{ describe, it } from
"node:test"
;
3
import
{ Chalk } from
"chalk"
;
4
import
{ TruncatedText } from
"../src/components/truncated-text.ts"
;
Callers
nothing calls this directly
Calls
3
visibleWidth
Function · 0.90
ok
Method · 0.80
render
Method · 0.65
Tested by
no test coverage detected