()
| 574 | class Example extends React.Component<*> { |
| 575 | busRef = React.createRef(); |
| 576 | render() { |
| 577 | return ( |
| 578 | <Surface |
| 579 | width={20} |
| 580 | height={20} |
| 581 | webglContextAttributes={{ preserveDrawingBuffer: true }} |
| 582 | > |
| 583 | <Bus ref={this.busRef}> |
| 584 | <Node shader={shaders.red} /> |
| 585 | </Bus> |
| 586 | <LinearCopy>{() => this.busRef.current}</LinearCopy> |
| 587 | </Surface> |
| 588 | ); |
| 589 | } |
| 590 | } |
| 591 | const inst = create(<Example />); |
| 592 | expectToBeCloseToColorArray( |
nothing calls this directly
no outgoing calls
no test coverage detected