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

Function strip

apps/kimi-code/test/tui/components/dialogs/compaction.test.ts:11–13  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

9});
10
11function strip(text: string): string {
12 return text.replaceAll(/\u001B\[[0-9;]*m/g, '');
13}
14
15describe('CompactionComponent', () => {
16 it('renders the custom instruction below the compacting label', () => {

Callers 2

headerOfFunction · 0.70
compaction.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected