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

Function requireWebGL

packages/melonjs/tests/texture-filter.spec.js:45–49  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

43 });
44
45 const requireWebGL = (ctx) => {
46 if (renderer === undefined) {
47 ctx.skip("WebGL renderer not available in this environment");
48 }
49 };
50
51 // restore a known baseline before each test (other specs share `video`)
52 beforeEach(() => {

Callers 1

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected