Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ampproject/amphtml
/ awaitFrameAfter
Function
awaitFrameAfter
testing/helpers/index.js:71–74 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
69
* @
return
{Promise<void>}
70
*/
71
export
async
function
awaitFrameAfter(ms) {
72
await
sleep(ms);
73
await
afterRenderPromise();
74
}
75
76
const
VOID_ELEMENTS =
new
Set([
77
'AREA'
,
Callers
5
test-multi-visible-single-advance.js
File · 0.90
test-amp-video-analytics.js
File · 0.90
test-amp-consent-server-side-expire-cache.js
File · 0.90
test-amp-consent-server-side.js
File · 0.90
test-cmp-ui-interaction.js
File · 0.90
Calls
2
sleep
Function · 0.70
afterRenderPromise
Function · 0.70
Tested by
no test coverage detected