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

File editor.test.ts

packages/pi-tui/test/editor.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 { stripVTControlCharacters } from "node:util";
4import { type AutocompleteProvider, CombinedAutocompleteProvider } from "../src/autocomplete.ts";

Callers

nothing calls this directly

Calls 15

visibleWidthFunction · 0.90
wordWrapLineFunction · 0.90
createTestTUIFunction · 0.85
positionCursorFunction · 0.85
pasteWithMarkerFunction · 0.85
onPlainCharMethod · 0.80
setHistoryFilterMethod · 0.80
getLinesMethod · 0.80
okMethod · 0.80
isShowingAutocompleteMethod · 0.80
cwdMethod · 0.80

Tested by

no test coverage detected