()
| 31 | |
| 32 | it("state should be enumerable", () => { |
| 33 | const Test = () => { |
| 34 | const state = useFormState(); |
| 35 | expect(Object.keys(state).length > 0).toBe(true); |
| 36 | return <div>It worked</div>; |
| 37 | }; |
| 38 | render( |
| 39 | <Form onSubmit={() => {}}> |
| 40 | {({ handleSubmit }) => ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…