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

Function trustedInvocation

test/unit/test-standard-actions.js:103–105  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

101 }
102
103 function trustedInvocation(obj) {
104 return {satisfiesTrust: () => true, ...obj};
105 }
106
107 function stubPlatformIsIos(isIos = true) {
108 env.sandbox.stub(Services, 'platformFor').returns({isIos: () => isIos});

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected