Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getLastRequestUrl
Method · 0.95
expectNoImagePixel
Function · 0.80
waitForSendRequest
Function · 0.80
waitForNoSendRequest
Function · 0.80
test-amp-analytics.js
File · 0.80
test-vendors.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected