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

Function chunkInstanceForTesting

src/chunk.js:94–96  ·  view source on GitHub ↗
(elementOrAmpDoc)

Source from the content-addressed store, hash-verified

92 * @return {!Chunks}
93 */
94export function chunkInstanceForTesting(elementOrAmpDoc) {
95 return chunkServiceForDoc(elementOrAmpDoc);
96}
97
98/**
99 * Use a standard micro task for every invocation. This should only

Callers 6

basicTestsFunction · 0.90
test-chunk.jsFile · 0.90
testSuiteFunction · 0.90
runChunksForTestingFunction · 0.85

Calls 1

chunkServiceForDocFunction · 0.85

Tested by

no test coverage detected