Skip to content

Commit 943729e

Browse files
committed
#RI-5759 - fux test
1 parent 46d2007 commit 943729e

File tree

1 file changed

+2
-2
lines changed
  • redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat

1 file changed

+2
-2
lines changed

redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat/ExpertChat.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('ExpertChat', () => {
100100
messages: [],
101101
agreements: []
102102
});
103-
(connectedInstanceSelector as jest.Mock).mockImplementation(() => ({
103+
(connectedInstanceSelector as jest.Mock).mockImplementationOnce(() => ({
104104
modules: [{ name: RedisDefaultModules.FT }, { name: RedisDefaultModules.ReJSON }]
105105
}))
106106

@@ -113,7 +113,7 @@ describe('ExpertChat', () => {
113113
const sendEventTelemetryMock = jest.fn();
114114
(sendEventTelemetry as jest.Mock).mockImplementation(() => sendEventTelemetryMock);
115115

116-
(aiExpertChatSelector as jest.Mock).mockReturnValue({
116+
(aiExpertChatSelector as jest.Mock).mockReturnValueOnce({
117117
loading: false,
118118
messages: [],
119119
agreements: ['instanceId']

0 commit comments

Comments
 (0)