Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ handler
Function
handler
test/unit/test-timer.js:24–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
23
it(
'delay'
, () => {
24
const
handler = () => {};
25
windowMock.expects(
'setTimeout'
).returns(1).once();
26
windowMock.expects(
'clearTimeout'
).never();
27
timer.delay(handler, 111);
Callers
4
test-action.js
File · 0.70
changeVisibilityState
Function · 0.70
CallExpression
Function · 0.50
listen
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected