| 128 | const WithThemeComponent = withTheme(Component); |
| 129 | |
| 130 | class Wrapper extends React.Component { |
| 131 | componentDidMount() { |
| 132 | expect(this.comp.foo()).toEqual('bar'); |
| 133 | } |
| 134 | |
| 135 | render() { |
| 136 | return ( |
| 137 | <WithThemeComponent |
| 138 | ref={component => { |
| 139 | this.comp = component; |
| 140 | }} |
| 141 | /> |
| 142 | ); |
| 143 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…