diff --git a/src/agentkit/server/frontend/tests/unit/stores/chatStore.transient-state.test.ts b/src/agentkit/server/frontend/tests/unit/stores/chatStore.transient-state.test.ts index c80f12f..e0924f1 100644 --- a/src/agentkit/server/frontend/tests/unit/stores/chatStore.transient-state.test.ts +++ b/src/agentkit/server/frontend/tests/unit/stores/chatStore.transient-state.test.ts @@ -90,7 +90,7 @@ describe('transient state reset matrix', () => { content: '私董会开始:测试主题', timestamp: '2026-07-01T10:00:00Z', status: 'completed' as const, - message_type: 'board_started', + message_type: 'board_started' as const, board_started: { team_id: 'team-1', topic: '测试主题', @@ -156,8 +156,8 @@ describe('transient state reset matrix', () => { ] store.currentConversationId = 'conv-a' - const boardState = { topic: 'board in A', experts: [], max_rounds: 1, current_round: 0, status: 'discussing' } - store.boardState = boardState as never + const boardState = { topic: 'board in A', experts: [], max_rounds: 1, current_round: 0, status: 'discussing' as const } + store.boardState = boardState store.debateState = { topic: 'debate' } as never store.collaborationState = { contracts: [], notices: [], reviews: [], risks: [] } as never