File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
client/src/components/__tests__ Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ describe("ToolsTab", () => {
1212 inputSchema : {
1313 type : "object" as const ,
1414 properties : {
15- num : { type : "number" as const }
16- }
17- }
15+ num : { type : "number" as const } ,
16+ } ,
17+ } ,
1818 } ,
1919 {
2020 name : "tool2" ,
2121 description : "Second tool" ,
2222 inputSchema : {
2323 type : "object" as const ,
2424 properties : {
25- num : { type : "number" as const }
26- }
27- }
28- }
25+ num : { type : "number" as const } ,
26+ } ,
27+ } ,
28+ } ,
2929 ] ;
3030
3131 const defaultProps = {
@@ -37,20 +37,20 @@ describe("ToolsTab", () => {
3737 setSelectedTool : jest . fn ( ) ,
3838 toolResult : null ,
3939 nextCursor : "" ,
40- error : null
40+ error : null ,
4141 } ;
4242
4343 const renderToolsTab = ( props = { } ) => {
4444 return render (
4545 < Tabs defaultValue = "tools" >
4646 < ToolsTab { ...defaultProps } { ...props } />
47- </ Tabs >
47+ </ Tabs > ,
4848 ) ;
4949 } ;
5050
5151 it ( "should reset input values when switching tools" , ( ) => {
5252 const { rerender } = renderToolsTab ( {
53- selectedTool : mockTools [ 0 ]
53+ selectedTool : mockTools [ 0 ] ,
5454 } ) ;
5555
5656 // Enter a value in the first tool's input
@@ -62,7 +62,7 @@ describe("ToolsTab", () => {
6262 rerender (
6363 < Tabs defaultValue = "tools" >
6464 < ToolsTab { ...defaultProps } selectedTool = { mockTools [ 1 ] } />
65- </ Tabs >
65+ </ Tabs > ,
6666 ) ;
6767
6868 // Verify input is reset
You can’t perform that action at this time.
0 commit comments