MCPcopy Create free account
hub / github.com/bvaughn/react-window / flushMutations

Function flushMutations

lib/utils/observePrecedingContent.test.ts:6–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5// Resolves once pending MutationObserver callbacks have run
6const flushMutations = () => new Promise((resolve) => setTimeout(resolve, 0));
7
8describe("observePrecedingContent", () => {
9 let container: HTMLElement;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected