()
| 23 | }; |
| 24 | |
| 25 | const ParentWithEffect = () => { |
| 26 | const { input } = useField("field1"); |
| 27 | React.useEffect(() => { |
| 28 | // Simulate programmatic change during effect phase |
| 29 | input.onChange("UpdatedByField1"); |
| 30 | // eslint-disable-next-line react-hooks/exhaustive-deps |
| 31 | }, []); |
| 32 | return null; |
| 33 | }; |
| 34 | |
| 35 | const { getByTestId } = render( |
| 36 | <Form |
nothing calls this directly
no test coverage detected
searching dependent graphs…