()
| 133 | // and don't try to assert the uniform values |
| 134 | el.addEventListener('materialtextureloaded', materialTextureLoaded); |
| 135 | function materialTextureLoaded () { |
| 136 | const material = el.components.material; |
| 137 | const instance = material.shader; |
| 138 | assert.equal(instance.material['_texture_src'].image.getAttribute('src'), VIDEO); |
| 139 | el.removeEventListener('materialtextureloaded', materialTextureLoaded); |
| 140 | done(); |
| 141 | } |
| 142 | el.setAttribute('material', 'shader: testShader; src:' + VIDEO); |
| 143 | const material = el.components.material; |
| 144 | const instance = material.shader; |
nothing calls this directly
no test coverage detected