| 220 | // wrapping component that applies a ref to our AsyncHOC(InternalComponent) |
| 221 | // eslint-disable-next-line no-unused-vars |
| 222 | class WrappingComponent extends React.Component { |
| 223 | render() { |
| 224 | return ( |
| 225 | <div> |
| 226 | <ComponentWrapper ref={r => (this._internalRef = r)} /> |
| 227 | </div> |
| 228 | ); |
| 229 | } |
| 230 | } |
| 231 | const instance = ReactTestUtils.renderIntoDocument(<WrappingComponent />); |
| 232 | |
| 233 | expect(hasScript(URL)).toEqual(true); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…