@@ -98,7 +98,7 @@ describe('MynahUI', () => {
9898 assert . notCalled ( onQuickActionSpy )
9999 assert . calledWith ( onChatPromptSpy , { prompt, tabId, context : undefined } )
100100 assert . calledWith ( addChatItemSpy , tabId , { type : ChatItemType . PROMPT , body : prompt . escapedPrompt } )
101- assert . calledWith ( updateStoreSpy , tabId , { loadingChat : true , promptInputDisabledState : true } )
101+ assert . calledWith ( updateStoreSpy , tabId , { loadingChat : true , promptInputDisabledState : false } )
102102 assert . calledWith ( addChatItemSpy , tabId , { type : ChatItemType . ANSWER_STREAM } )
103103 } )
104104
@@ -127,7 +127,7 @@ describe('MynahUI', () => {
127127 tabId,
128128 } )
129129 assert . calledOnce ( updateStoreSpy )
130- assert . calledWith ( updateStoreSpy , tabId , { loadingChat : true , promptInputDisabledState : true } )
130+ assert . calledWith ( updateStoreSpy , tabId , { loadingChat : true , promptInputDisabledState : false } )
131131 } )
132132 } )
133133
@@ -282,7 +282,7 @@ describe('MynahUI', () => {
282282
283283 sinon . assert . calledOnceWithMatch ( updateStoreSpy , tabId , {
284284 loadingChat : true ,
285- promptInputDisabledState : true ,
285+ promptInputDisabledState : false ,
286286 } )
287287 } )
288288 } )
0 commit comments