Skip to content

Commit 180760c

Browse files
committed
Fix formatting
1 parent 7753b27 commit 180760c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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: /count/i }) as HTMLInputElement;
88+
const input = screen.getByRole("textbox", {
89+
name: /count/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: /run tool/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
});

0 commit comments

Comments
 (0)