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

File scrollElement.hydration.test.tsx

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

Source from the content-addressed store, hash-verified

1import { act } from "react";
2import { hydrateRoot, type Root } from "react-dom/client";
3import { renderToString } from "react-dom/server";
4import { afterEach, describe, expect, it, vi } from "vitest";

Callers

nothing calls this directly

Calls 2

mockWindowScrollingFunction · 0.90
hydrateFunction · 0.70

Tested by

no test coverage detected