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

File observePrecedingContent.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, test, vi } from "vitest";
2import { observePrecedingContent } from "./observePrecedingContent";
3import { setElementSize } from "./test/mockResizeObserver";
4

Callers

nothing calls this directly

Calls 5

resizeFunction · 0.85
flushMutationsFunction · 0.85
stopFunction · 0.85
setupFunction · 0.70
getFunction · 0.70

Tested by

no test coverage detected