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

Function invocation

extensions/amp-render/1.0/test/test-amp-render.js:55–69  ·  view source on GitHub ↗
(method, args = {})

Source from the content-addressed store, hash-verified

53 }
54
55 function invocation(method, args = {}) {
56 const source = null;
57 const caller = null;
58 const event = null;
59 const trust = ActionTrust_Enum.DEFAULT;
60 return new ActionInvocation(
61 element,
62 method,
63 args,
64 source,
65 caller,
66 event,
67 trust
68 );
69 }
70
71 beforeEach(async function () {
72 win = env.win;

Callers 1

test-amp-render.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected