Fix formatting
This commit is contained in:
@@ -85,7 +85,9 @@ describe("ToolsTab", () => {
|
|||||||
selectedTool: mockTools[1], // Use the tool with integer type
|
selectedTool: mockTools[1], // Use the tool with integer type
|
||||||
});
|
});
|
||||||
|
|
||||||
const input = screen.getByRole("spinbutton", { name: /count/i }) as HTMLInputElement;
|
const input = screen.getByRole("spinbutton", {
|
||||||
|
name: /count/i,
|
||||||
|
}) as HTMLInputElement;
|
||||||
expect(input).toHaveProperty("type", "number");
|
expect(input).toHaveProperty("type", "number");
|
||||||
fireEvent.change(input, { target: { value: "42" } });
|
fireEvent.change(input, { target: { value: "42" } });
|
||||||
expect(input.value).toBe("42");
|
expect(input.value).toBe("42");
|
||||||
|
|||||||
Reference in New Issue
Block a user