Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ banner.test.ts
File
banner.test.ts
apps/kimi-code/test/tui/components/chrome/banner.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
chalk from
'chalk'
;
2
import
{ afterEach, beforeEach, describe, expect, it } from
'vitest'
;
3
import
{ visibleWidth } from
'@moonshot-ai/pi-tui'
;
4
Callers
nothing calls this directly
Calls
5
visibleWidth
Function · 0.90
makeBannerState
Function · 0.85
boldFg
Method · 0.80
fg
Method · 0.80
render
Method · 0.65
Tested by
no test coverage detected