MCPcopy Create free account
hub / github.com/ampproject/amphtml / createVariantDescribe

Function createVariantDescribe

build-system/tasks/e2e/describes-e2e.js:436–446  ·  view source on GitHub ↗

* @param {BrowserNameDef} browserName

(browserName)

Source from the content-addressed store, hash-verified

434 * @param {BrowserNameDef} browserName
435 */
436 function createVariantDescribe(browserName) {
437 for (const name in variants) {
438 it.configure = function () {
439 return new ItConfig(it, variants[name]);
440 };
441
442 describe(name ? ` ${name} ` : SUB, function () {
443 doTemplate.call(this, name, variants[name], browserName);
444 });
445 }
446 }
447
448 describeFunc(suiteName, function () {
449 createBrowserDescribe();

Callers 1

createBrowserDescribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected