Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ originalScrollTo
Function
originalScrollTo
test/unit/test-viewport.js:1371–1371 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1369
1370
describe(
'overrideGlobalScrollTo'
, () => {
1371
const
originalScrollTo =
function
() {};
1372
1373
beforeEach(() => {
1374
windowApi.scrollTo = originalScrollTo;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected