(ctx)
| 41 | // in the reporter and CI summaries) instead of silently no-op'ing, |
| 42 | // which would hide a regression behind a green check. |
| 43 | const requireWebGL2 = (ctx) => { |
| 44 | if (renderer === undefined) { |
| 45 | ctx.skip("WebGL2 renderer not available in this environment"); |
| 46 | } |
| 47 | }; |
| 48 | |
| 49 | it("lazily constructs the GPU renderer when first asked", (ctx) => { |
| 50 | requireWebGL2(ctx); |
no test coverage detected