()
| 1669 | const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => {}); |
| 1670 | |
| 1671 | const Demo = () => { |
| 1672 | const [, setVal] = React.useState(0); |
| 1673 | |
| 1674 | return ( |
| 1675 | <Select |
| 1676 | onChange={setVal} |
| 1677 | defaultValue={0} |
| 1678 | options={[ |
| 1679 | { |
| 1680 | value: 0, |
| 1681 | label: <div />, |
| 1682 | }, |
| 1683 | { |
| 1684 | value: 1, |
| 1685 | label: <div />, |
| 1686 | }, |
| 1687 | ]} |
| 1688 | /> |
| 1689 | ); |
| 1690 | }; |
| 1691 | |
| 1692 | const { container } = render(<Demo />); |
| 1693 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…