MCPcopy
hub / github.com/bvaughn/react-window / useVirtualizer.test.ts

File useVirtualizer.test.ts

lib/core/useVirtualizer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook } from "@testing-library/react";
2import { beforeEach, describe, expect, test } from "vitest";
3import { EMPTY_OBJECT, NOOP_FUNCTION } from "../../src/constants";
4import { setDefaultElementSize } from "../utils/test/mockResizeObserver";

Callers

nothing calls this directly

Calls 2

setDefaultElementSizeFunction · 0.90
useVirtualizerFunction · 0.90

Tested by

no test coverage detected