@@ -521,7 +521,7 @@ describe("ClineProvider", () => {
521521 mcpEnabled : true ,
522522 enableMcpServerCreation : false ,
523523 requestDelaySeconds : 5 ,
524- maxRequestDelaySeconds : 100 ,
524+ maxRequestDelaySeconds : 600 ,
525525 mode : defaultModeSlug ,
526526 customModes : [ ] ,
527527 experiments : experimentDefault ,
@@ -814,7 +814,7 @@ describe("ClineProvider", () => {
814814 expect ( state . requestDelaySeconds ) . toBe ( 5 )
815815 } )
816816
817- test ( "maxRequestDelaySeconds defaults to 100 seconds" , async ( ) => {
817+ test ( "maxRequestDelaySeconds defaults to 600 seconds" , async ( ) => {
818818 // Mock globalState.get to return undefined for requestDelaySeconds
819819 ; ( mockContext . globalState . get as any ) . mockImplementation ( ( key : string ) => {
820820 if ( key === "maxRequestDelaySeconds" ) {
@@ -824,7 +824,7 @@ describe("ClineProvider", () => {
824824 } )
825825
826826 const state = await provider . getState ( )
827- expect ( state . maxRequestDelaySeconds ) . toBe ( 100 )
827+ expect ( state . maxRequestDelaySeconds ) . toBe ( 600 )
828828 } )
829829
830830 test ( "alwaysApproveResubmit defaults to false" , async ( ) => {
@@ -1021,8 +1021,8 @@ describe("ClineProvider", () => {
10211021 expect ( mockPostMessage ) . toHaveBeenCalled ( )
10221022
10231023 // Test maxRequestDelaySeconds
1024- await messageHandler ( { type : "maxRequestDelaySeconds" , value : 100 } )
1025- expect ( mockContext . globalState . update ) . toHaveBeenCalledWith ( "maxRequestDelaySeconds" , 100 )
1024+ await messageHandler ( { type : "maxRequestDelaySeconds" , value : 600 } )
1025+ expect ( mockContext . globalState . update ) . toHaveBeenCalledWith ( "maxRequestDelaySeconds" , 600 )
10261026 expect ( mockPostMessage ) . toHaveBeenCalled ( )
10271027 } )
10281028
0 commit comments