File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
client/src/components/__tests__ Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -85,17 +85,18 @@ describe("ToolsTab", () => {
8585 selectedTool : mockTools [ 1 ] , // Use the tool with integer type
8686 } ) ;
8787
88- const input = screen . getByRole ( "textbox" , { name : / c o u n t / i } ) as HTMLInputElement ;
88+ const input = screen . getByRole ( "textbox" , {
89+ name : / c o u n t / i,
90+ } ) as HTMLInputElement ;
8991 expect ( input ) . toHaveProperty ( "type" , "number" ) ;
9092 fireEvent . change ( input , { target : { value : "42" } } ) ;
9193 expect ( input . value ) . toBe ( "42" ) ;
9294
9395 const submitButton = screen . getByRole ( "button" , { name : / r u n t o o l / i } ) ;
9496 fireEvent . click ( submitButton ) ;
95-
96- expect ( defaultProps . callTool ) . toHaveBeenCalledWith (
97- mockTools [ 1 ] . name ,
98- { count : 42 }
99- ) ;
97+
98+ expect ( defaultProps . callTool ) . toHaveBeenCalledWith ( mockTools [ 1 ] . name , {
99+ count : 42 ,
100+ } ) ;
100101 } ) ;
101102} ) ;
You can’t perform that action at this time.
0 commit comments