| 63 | |
| 64 | it('hoists non-react statics from the wrapped component', () => { |
| 65 | class Component extends React.Component { |
| 66 | static foo() { |
| 67 | return 'bar'; |
| 68 | } |
| 69 | |
| 70 | render() { |
| 71 | return null; |
| 72 | } |
| 73 | } |
| 74 | Component.hello = 'world'; |
| 75 | |
| 76 | const decorated = withTheme(Component); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…