MCPcopy Create free account
hub / github.com/melonjs/melonJS / requireWebGL

Function requireWebGL

packages/melonjs/tests/createPattern_repeat_parity.spec.js:91–95  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

89 });
90
91 const requireWebGL = (ctx) => {
92 if (!webglReady) {
93 ctx.skip("WebGL renderer not available in this environment");
94 }
95 };
96
97 it("two patterns from one image must stay independent across repeat modes", (ctx) => {
98 requireWebGL(ctx);

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected