Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bvaughn/react-virtualized
/ dimensions.test.ts
File
dimensions.test.ts
lib/utils/scrollElement/dimensions.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect, it } from
"vitest"
;
2
import
{ mockWindowScrolling } from
"../test/scrollElement"
;
3
import
{
4
getDimensions,
Callers
nothing calls this directly
Calls
5
mockWindowScrolling
Function · 0.90
getDimensions
Function · 0.90
getPositionOffset
Function · 0.90
getScrollOffset
Function · 0.90
mockRect
Function · 0.85
Tested by
no test coverage detected