We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3117d0 commit 93c9c74Copy full SHA for 93c9c74
client/src/components/__tests__/ToolsTab.test.tsx
@@ -85,7 +85,9 @@ describe("ToolsTab", () => {
85
selectedTool: mockTools[1], // Use the tool with integer type
86
});
87
88
- const input = screen.getByRole("spinbutton", { name: /count/i }) as HTMLInputElement;
+ const input = screen.getByRole("spinbutton", {
89
+ name: /count/i,
90
+ }) as HTMLInputElement;
91
expect(input).toHaveProperty("type", "number");
92
fireEvent.change(input, { target: { value: "42" } });
93
expect(input.value).toBe("42");
0 commit comments