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

Method hasRequestSent

testing/helpers/service.js:379–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377 }
378
379 hasRequestSent() {
380 return this.imagePixels_.length > 0;
381 }
382
383 verifyRequest(url, referrerPolicy, attributionSrc) {
384 const pixel = this.imagePixels_.shift();

Callers 6

getLastRequestUrlMethod · 0.95
expectNoImagePixelFunction · 0.80
waitForSendRequestFunction · 0.80
waitForNoSendRequestFunction · 0.80
test-vendors.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected