@@ -321,7 +321,9 @@ describe("Sidebar Environment Variables", () => {
321321
322322 openConfigSection ( ) ;
323323
324- const timeoutInput = screen . getByTestId ( "MCP_SERVER_REQUEST_TIMEOUT-input" ) ;
324+ const timeoutInput = screen . getByTestId (
325+ "MCP_SERVER_REQUEST_TIMEOUT-input" ,
326+ ) ;
325327 fireEvent . change ( timeoutInput , { target : { value : "5000" } } ) ;
326328
327329 expect ( setConfig ) . toHaveBeenCalledWith ( {
@@ -338,7 +340,9 @@ describe("Sidebar Environment Variables", () => {
338340
339341 openConfigSection ( ) ;
340342
341- const timeoutInput = screen . getByTestId ( "MCP_SERVER_REQUEST_TIMEOUT-input" ) ;
343+ const timeoutInput = screen . getByTestId (
344+ "MCP_SERVER_REQUEST_TIMEOUT-input" ,
345+ ) ;
342346 fireEvent . change ( timeoutInput , { target : { value : "abc1" } } ) ;
343347
344348 expect ( setConfig ) . toHaveBeenCalledWith ( {
@@ -351,22 +355,35 @@ describe("Sidebar Environment Variables", () => {
351355
352356 it ( "should maintain configuration state after multiple updates" , ( ) => {
353357 const setConfig = jest . fn ( ) ;
354- const { rerender } = renderSidebar ( { config : DEFAULT_INSPECTOR_CONFIG , setConfig } ) ;
358+ const { rerender } = renderSidebar ( {
359+ config : DEFAULT_INSPECTOR_CONFIG ,
360+ setConfig,
361+ } ) ;
355362
356363 openConfigSection ( ) ;
357364
358365 // First update
359- const timeoutInput = screen . getByTestId ( "MCP_SERVER_REQUEST_TIMEOUT-input" ) ;
366+ const timeoutInput = screen . getByTestId (
367+ "MCP_SERVER_REQUEST_TIMEOUT-input" ,
368+ ) ;
360369 fireEvent . change ( timeoutInput , { target : { value : "5000" } } ) ;
361370
362371 // Get the updated config from the first setConfig call
363372 const updatedConfig = setConfig . mock . calls [ 0 ] [ 0 ] as InspectorConfig ;
364373
365374 // Rerender with the updated config
366- rerender ( < Sidebar { ...defaultProps } config = { updatedConfig } setConfig = { setConfig } /> ) ;
375+ rerender (
376+ < Sidebar
377+ { ...defaultProps }
378+ config = { updatedConfig }
379+ setConfig = { setConfig }
380+ /> ,
381+ ) ;
367382
368383 // Second update
369- const updatedTimeoutInput = screen . getByTestId ( "MCP_SERVER_REQUEST_TIMEOUT-input" ) ;
384+ const updatedTimeoutInput = screen . getByTestId (
385+ "MCP_SERVER_REQUEST_TIMEOUT-input" ,
386+ ) ;
370387 fireEvent . change ( updatedTimeoutInput , { target : { value : "3000" } } ) ;
371388
372389 // Verify the final state matches what we expect
0 commit comments