Fix formatting
This commit is contained in:
parent
c3117d0fea
commit
93c9c74dc9
1 changed files with 3 additions and 1 deletions
|
|
@ -85,7 +85,9 @@ describe("ToolsTab", () => {
|
|||
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");
|
||||
fireEvent.change(input, { target: { value: "42" } });
|
||||
expect(input.value).toBe("42");
|
||||
|
|
|
|||
Loading…
Reference in a new issue