Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ test-intersection-observer.js
File
test-intersection-observer.js
test/unit/polyfills/test-intersection-observer.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{install, installForChildWin} from
'#polyfills/intersection-observer'
;
2
import
{
3
IntersectionObserverStub,
4
installStub,
Callers
nothing calls this directly
Calls
15
shouldLoadPolyfill
Function · 0.90
installStub
Function · 0.90
install
Function · 0.90
installForChildWin
Function · 0.90
resetStubsForTesting
Function · 0.90
upgradePolyfill
Function · 0.90
beforeEach
Function · 0.85
expect
Function · 0.85
afterEach
Function · 0.85
nextMicroTask
Function · 0.70
upgrade
Function · 0.70
it
Function · 0.50
Tested by
no test coverage detected