| 25 | } |
| 26 | |
| 27 | export class FakeTextureElement extends React.Component { |
| 28 | _fakeTexture: FakeTexture; |
| 29 | constructor(props: any) { |
| 30 | super(props); |
| 31 | this._fakeTexture = new FakeTexture(props); |
| 32 | } |
| 33 | getRootRef() { |
| 34 | return this._fakeTexture; |
| 35 | } |
| 36 | render() { |
| 37 | return <span />; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | export const expectToBeCloseToColorArray = ( |
| 42 | actual: Uint8Array, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…