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

File input.test.ts

packages/pi-tui/test/input.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from "node:assert";
2import { describe, it } from "node:test";
3import { Input } from "../src/components/input.ts";
4import { visibleWidth } from "../src/utils.ts";

Callers

nothing calls this directly

Calls 6

visibleWidthFunction · 0.90
okMethod · 0.80
handleInputMethod · 0.65
renderMethod · 0.65
getValueMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected