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

File event-reducer.test.ts

apps/kimi-web/test/event-reducer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import { createInitialState, reduceAppEvent } from '../src/api/daemon/eventReducer';
3import type { AppMessage, AppSession, AppTask } from '../src/api/types';
4

Callers

nothing calls this directly

Calls 5

createInitialStateFunction · 0.90
reduceAppEventFunction · 0.90
makeMessageFunction · 0.85
makeSubagentTaskFunction · 0.85
makeSessionFunction · 0.70

Tested by

no test coverage detected