MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / usage-panel.test.ts

File usage-panel.test.ts

apps/kimi-code/test/tui/components/messages/usage-panel.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { visibleWidth } from '@moonshot-ai/pi-tui';
2import { afterEach, describe, expect, it } from 'vitest';
3
4import { buildUsageReportLines, UsagePanelComponent } from '#/tui/components/messages/usage-panel';

Callers

nothing calls this directly

Calls 7

buildUsageReportLinesFunction · 0.90
visibleWidthFunction · 0.90
bodyOfFunction · 0.85
setPaletteMethod · 0.80
colorMethod · 0.80
renderMethod · 0.65
invalidateMethod · 0.65

Tested by

no test coverage detected