Skip to content

Commit 2af94de

Browse files
committed
test(flow-chat): stub subscribeSelector in the UserMessageItem store mock
1 parent c5dd89b commit 2af94de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/web-ui/src/flow_chat/components/modern/UserMessageItem.test.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const flowChatStoreMock = vi.hoisted(() => ({
150150
activeSessionId: null,
151151
})),
152152
loadSessionHistory: vi.fn(async () => undefined),
153+
subscribeSelector: vi.fn(() => () => {}),
153154
}));
154155

155156
vi.mock('../../store/FlowChatStore', () => ({

0 commit comments

Comments
 (0)