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 95f9be1 commit 35e1146Copy full SHA for 35e1146
packages/shared/widget-plugin-component-kit/src/__tests__/ThreeStateCheckBox.spec.tsx
@@ -1,9 +1,9 @@
1
import { createElement } from "react";
2
-import { render } from "@testing-library/react";
+import { render, RenderResult } from "@testing-library/react";
3
import { ThreeStateCheckBox, ThreeStateCheckBoxEnum } from "../ThreeStateCheckBox";
4
5
describe("ThreeStateCheckBox", () => {
6
- const renderComponent = (value: ThreeStateCheckBoxEnum) =>
+ const renderComponent = (value: ThreeStateCheckBoxEnum): RenderResult =>
7
render(
8
<ThreeStateCheckBox value={value} className="test-class" aria-label="Test Checkbox" onChange={jest.fn()} />
9
);
0 commit comments