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

Function createElement

test/unit/test-owners.js:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 });
41
42 function createElement() {
43 const element = env.createAmpElement('amp-test');
44 env.sandbox.stub(element, 'isUpgraded').returns(true);
45 return element;
46 }
47
48 function createElementWithResource(
49 id,

Callers 2

test-jsx.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected