MCPcopy Create free account
hub / github.com/bytebase/bytebase / getLink

Function getLink

frontend/src/react/components/RouterLink.test.tsx:45–49  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

43};
44
45function getLink(container: HTMLElement): HTMLAnchorElement {
46 const link = container.querySelector("a");
47 expect(link).toBeInstanceOf(HTMLAnchorElement);
48 return link as HTMLAnchorElement;
49}
50
51function click(
52 link: HTMLAnchorElement,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected