File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/expert-chat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ describe('ExpertChat', () => {
100
100
messages : [ ] ,
101
101
agreements : [ ]
102
102
} ) ;
103
- ( connectedInstanceSelector as jest . Mock ) . mockImplementation ( ( ) => ( {
103
+ ( connectedInstanceSelector as jest . Mock ) . mockImplementationOnce ( ( ) => ( {
104
104
modules : [ { name : RedisDefaultModules . FT } , { name : RedisDefaultModules . ReJSON } ]
105
105
} ) )
106
106
@@ -113,7 +113,7 @@ describe('ExpertChat', () => {
113
113
const sendEventTelemetryMock = jest . fn ( ) ;
114
114
( sendEventTelemetry as jest . Mock ) . mockImplementation ( ( ) => sendEventTelemetryMock ) ;
115
115
116
- ( aiExpertChatSelector as jest . Mock ) . mockReturnValue ( {
116
+ ( aiExpertChatSelector as jest . Mock ) . mockReturnValueOnce ( {
117
117
loading : false ,
118
118
messages : [ ] ,
119
119
agreements : [ 'instanceId' ]
You can’t perform that action at this time.
0 commit comments