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

File scrollElement.test.tsx

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

Source from the content-addressed store, hash-verified

1import { act, render, screen } from "@testing-library/react";
2import { createRef } from "react";
3import { beforeEach, describe, expect, test, vi } from "vitest";
4import { EMPTY_OBJECT } from "../src/constants";

Callers

nothing calls this directly

Calls 8

setDefaultElementSizeFunction · 0.90
mockWindowScrollFunction · 0.90
mockLayoutFunction · 0.90
mockScrollPaddingFunction · 0.90
assertFunction · 0.90
getRenderedRowsFunction · 0.85
getRenderedCellsFunction · 0.85
setupFunction · 0.70

Tested by

no test coverage detected