MCPcopy
hub / github.com/ampproject/amphtml / vsyncForTesting

Function vsyncForTesting

src/service/vsync-impl.js:475–478  ·  view source on GitHub ↗
(window)

Source from the content-addressed store, hash-verified

473 * @return {!Vsync}
474 */
475export function vsyncForTesting(window) {
476 installVsyncService(window);
477 return getService(window, 'vsync');
478}
479
480/**
481 * @param {!Window} window

Callers 3

test-runtime.jsFile · 0.90
setupFunction · 0.90
test-amp-geo.jsFile · 0.90

Calls 2

getServiceFunction · 0.90
installVsyncServiceFunction · 0.85

Tested by

no test coverage detected