| 25 | const portal2 = document.createElement('div') |
| 26 | |
| 27 | class Parent extends Component { |
| 28 | render () { |
| 29 | return null |
| 30 | } |
| 31 | getChildContext () { |
| 32 | return { value: this.props.value } |
| 33 | } |
| 34 | componentDidMount () { |
| 35 | renderSubtreeIntoContainer(this, <Middle />, portal1) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | let m1, m2 |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected