()
| 171 | }; |
| 172 | |
| 173 | public render() { |
| 174 | const options = this.state.data.map((item) => ( |
| 175 | <Option key={item.key} value={item.key}> |
| 176 | {item.label} |
| 177 | </Option> |
| 178 | )); |
| 179 | return ( |
| 180 | <Select |
| 181 | mode="combobox" |
| 182 | onChange={this.handleChange} |
| 183 | filterOption={false} |
| 184 | notFoundContent="" |
| 185 | > |
| 186 | {options} |
| 187 | </Select> |
| 188 | ); |
| 189 | } |
| 190 | } |
| 191 | const { container } = render(<AsyncCombobox />); |
| 192 | fireEvent.focus(container.querySelector('input')!); |
nothing calls this directly
no outgoing calls
no test coverage detected