import * as React from "react"; import { render } from "reakit-test-utils"; import { unstable_FormCheckbox as FormCheckbox } from "../FormCheckbox"; test("render", () => { const { baseElement } = render( ); expect(baseElement).toMatchInlineSnapshot(`
`); }); test("render value", () => { const { baseElement } = render( }} touched={{}} errors={{}} update={jest.fn()} blur={jest.fn()} /> ); expect(baseElement).toMatchInlineSnapshot(`
`); });