Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/heygen-com/hyperframes
/ iframe.test.ts
File
iframe.test.ts
packages/sdk/src/adapters/iframe.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Unit tests
for
the pure functions in iframe.ts (no browser needed).
3
*
4
* elementFromPoint requires a real layout engine — the adapter's elementAtPoint()
Callers
nothing calls this directly
Calls
15
resolveNearestHfElement
Function · 0.85
fakeEl
Function · 0.85
computeDraftPosition
Function · 0.85
createIframePreviewAdapter
Function · 0.85
stubIframe
Function · 0.85
fakeDomEl
Function · 0.85
alphaIsOpaque
Function · 0.85
makeImageData
Function · 0.85
mapPointToImagePixel
Function · 0.85
buildFakeIframeWithStack
Function · 0.85
withCanvasStub
Function · 0.85
getPropertyValue
Method · 0.80
Tested by
no test coverage detected