MCPcopy Create free account
hub / github.com/bvaughn/react-window / scrollElement.test.ts

File scrollElement.test.ts

lib/utils/scrollElement.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "vitest";
2import { getScrollPadding, isSelfScrolling } from "./scrollElement";
3import { mockLayout } from "./test/mockLayout";
4import { mockScrollPadding } from "./test/mockScrollPadding";

Callers

nothing calls this directly

Calls 4

isSelfScrollingFunction · 0.90
mockScrollPaddingFunction · 0.90
getScrollPaddingFunction · 0.90
setupFunction · 0.70

Tested by

no test coverage detected