MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / renderedKeys

Function renderedKeys

tests/unit/utils/VirtualScroller.test.ts:51–55  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

49}
50
51function renderedKeys(container: HTMLElement): string[] {
52 return Array.from(container.querySelectorAll<HTMLElement>("[data-key]")).map(
53 (element) => element.dataset.key ?? ""
54 );
55}
56
57describe("VirtualScroller", () => {
58 it("includes container bottom padding in the spacer height", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected