MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / values

Function values

apps/kimi-code/test/tui/commands/registry.test.ts:62–65  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

60
61 it('offers swarm subcommand argument completions', () => {
62 const values = (prefix: string): string[] | null => {
63 const items = swarmArgumentCompletions(prefix);
64 return items === null ? null : items.map((item) => item.value);
65 };
66
67 expect(values('')).toEqual(['on', 'off']);
68 expect(values('O')).toEqual(['on', 'off']);

Callers 1

registry.test.tsFile · 0.70

Calls 2

swarmArgumentCompletionsFunction · 0.85

Tested by

no test coverage detected