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

Function createConfigurableRunner

testing/describes.js:375–379  ·  view source on GitHub ↗

* Creates a configurable version of a top-level describes runner. * @param {function(!Object):!Array<?Fixture>} factory

(factory)

Source from the content-addressed store, hash-verified

373 * @param {function(!Object):!Array<?Fixture>} factory
374 */
375function createConfigurableRunner(factory) {
376 const runner = describeEnv(factory);
377 runner.configure = () => new TestConfig(runner);
378 return runner;
379}
380
381/** @interface */
382class FixtureInterface {

Callers 1

describes.jsFile · 0.85

Calls 1

describeEnvFunction · 0.70

Tested by

no test coverage detected