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

File provider.test.ts

apps/kimi-code/test/cli/provider.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * `kimi provider` CLI unit tests. The handlers receive an injected `getHarness`
3 * + capturing stdout/stderr, so we test the wiring end-to-end without booting
4 * a real harness or hitting the network.

Callers

nothing calls this directly

Calls 12

handleProviderAddFunction · 0.90
handleProviderRemoveFunction · 0.90
handleProviderListFunction · 0.90
registerProviderCommandFunction · 0.90
handleCatalogListFunction · 0.90
handleCatalogAddFunction · 0.90
mockRegistryFetchFunction · 0.85
keysMethod · 0.80
nameMethod · 0.80
makeHarnessFunction · 0.70
makeDepsFunction · 0.70
tryRunFunction · 0.70

Tested by

no test coverage detected