(_ref)
| 155 | const nullHandler = jest.fn(); |
| 156 | |
| 157 | function ref(_ref) { |
| 158 | if (_ref) { |
| 159 | setup(); |
| 160 | } else { |
| 161 | nullHandler(); |
| 162 | } |
| 163 | return cleanUp; |
| 164 | } |
| 165 | |
| 166 | const TextField = React.forwardRef((props, forwardedRef) => { |
| 167 | const ref = useObjectRef(forwardedRef); |