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

Function json

test/unit/test-impression.js:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 stub.returns(
44 Promise.resolve({
45 json() {
46 return Promise.resolve(null);
47 },
48 })
49 );
50 env.sandbox.stub(ampdoc, 'whenFirstVisible').returns(Promise.resolve());

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected