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

Function installYieldIt

testing/yield.js:7–11  ·  view source on GitHub ↗
(realIt)

Source from the content-addressed store, hash-verified

5 * Check test-yield.js for how-to.
6 */
7export function installYieldIt(realIt) {
8 it = enableYield.bind(null, realIt); // eslint-disable-line no-native-reassign
9 it./*OK*/ only = enableYield.bind(null, realIt.only);
10 it.skip = realIt.skip;
11}
12
13function enableYield(fn, message, runnable) {
14 if (

Callers 1

initializeTestConstructsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected