MCPcopy
hub / github.com/ampproject/amphtml / run

Method run

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

* @param {string} name * @param {function(): void} fn * @return {void|Mocha.Test}

(name, fn)

Source from the content-addressed store, hash-verified

328 * @return {void|Mocha.Test}
329 */
330 run(name, fn) {
331 if (this.skip) {
332 return this.it.skip(name, fn);
333 }
334
335 this.it(name, function () {
336 return fn.apply(this, arguments);
337 });
338 }
339}
340
341/**

Callers 5

integrationFunction · 0.45
runRulesFunction · 0.45
unitFunction · 0.45
runTests_Function · 0.45
runWatch_Function · 0.45

Calls 2

skipMethod · 0.80
applyMethod · 0.80

Tested by

no test coverage detected