({ onChange })
| 190 | // This verifies that async dropdown value changes flow through to onDataChange, |
| 191 | // which is what triggers field visibility re-evaluation in the parent (EditNodeDialog). |
| 192 | const StubAsyncInput: ComponentType<AsyncInputProps> = ({ onChange }) => ( |
| 193 | <button data-testid='async-select' onClick={() => onChange('selected-value')}> |
| 194 | Select |
| 195 | </button> |
| 196 | ) |
| 197 | |
| 198 | it('calls onDataChange when asyncOptions fires onChange', () => { |
| 199 | render( |
nothing calls this directly
no test coverage detected