Skip to content

Commit b7fa236

Browse files
committed
Fix formatting
1 parent a7f2515 commit b7fa236

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

client/src/components/__tests__/ToolsTab.test.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)