MCPcopy 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.jsFile · 0.70
changeVisibilityStateFunction · 0.70
CallExpressionFunction · 0.50
listenFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected