| 151 | |
| 152 | it("should expose statics", done => { |
| 153 | class MockedComponentWithStatic extends React.Component { |
| 154 | static callsACallback(fn) { |
| 155 | fn(); |
| 156 | } |
| 157 | render() { |
| 158 | return <span />; |
| 159 | } |
| 160 | } |
| 161 | const URL = "http://example.com/?functions=true"; |
| 162 | const ComponentWrapper = makeAsyncScriptLoader(URL)( |
| 163 | MockedComponentWithStatic |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…