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

Class

lib/utils/test/createElementInOtherWindow.ts:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 const disconnect = vi.fn();
18 // @ts-expect-error Minimal ResizeObserver for the other window
19 otherWindow.ResizeObserver = class {
20 observe = observe;
21 unobserve = unobserve;
22 disconnect = disconnect;
23 };
24
25 const element = otherWindow.document.createElement("div");
26 otherWindow.document.body.appendChild(element);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected