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

Function compare

test/unit/test-cid.js:765–769  ·  view source on GitHub ↗
(externalCidScope, compareValue)

Source from the content-addressed store, hash-verified

763 });
764
765 function compare(externalCidScope, compareValue) {
766 return cid.get({scope: externalCidScope}, hasConsent).then((c) => {
767 expect(c).to.equal(compareValue);
768 });
769 }
770
771 function removeMemoryCacheOfCid(opt_cid) {
772 (opt_cid || cid).baseCid_ = null;

Callers 2

test-cid.jsFile · 0.85
useDeepValueFunction · 0.85

Calls 3

expectFunction · 0.85
thenMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected