MCPcopy Index your code
hub / github.com/ampproject/amphtml / createTemplate

Function createTemplate

testing/describes.js:257–258  ·  view source on GitHub ↗
(describeFunc)

Source from the content-addressed store, hash-verified

255 };
256
257 const createTemplate = (describeFunc) => (name, variants, fn) =>
258 templateFunc(name, variants, fn, describeFunc);
259
260 const mainFunc = createTemplate(describe);
261 mainFunc.only = createTemplate(describe.only);

Callers 2

repeatedEnvFunction · 0.70
describeEnvFunction · 0.70

Calls 1

templateFuncFunction · 0.70

Tested by

no test coverage detected